zoukankan      html  css  js  c++  java
  • jenkins--工具配置

    1.JDK配置
    Jenkins-->系统管理-->全局工具配置-->JDK-->新增JDK
    别名:别名尽量注明版本号,方便识别
    JAVA_HOME:Jdk配置参数,填写jdk根目录位置(如果已存在JDK,不要勾选自动安装)
     
     
    2.Maven配置
    1.首先安装maven
    # wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
    # sed -i s/$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
    # yum install -y maven
    # mvn -version
     
    2.Jenkins-->系统管理-->全局工具配置-->Maven-->新增Maven
    Name:识别,注明版本号
    MAVEN_HOME:Maven配置参数,填写Maven根目录位置(如果已存在Maven,不要勾选自动安装)
     
    3.git配置
    1.首先安装git
    # yum -y install git
     
    2.Jenkins-->系统管理-->全局工具配置-->Git-->新增Git
    Name:识别,注明版本号
    Path to Git executable:填写git执行位置(如果已存在git,不要勾选自动安装)
     
     
     

  • 相关阅读:
    algorithm,ds,Skew heap
    python,file,os,shutil
    python,pickle,serialize
    algorithm,ds,leftist heap
    shell,chapter 2
    shell,chapter 1
    shell,Introduction to shell
    signal and slot in pyside
    python,cron,gae,bae
    python,mysql,sql,mysqldb
  • 原文地址:https://www.cnblogs.com/absoluteli/p/13960022.html
Copyright © 2011-2022 走看看