Jenkins automatic tool linux environment deployment steps notes

Deploy Jenkins
1. Download tomcat? Wget https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-9/v9.0.34/bin/apache-tomcat-9.0.34.tar.gz
2. Unzip tomcat? tar -xvf apache-tomcat-9.0.34.tar.gz


3. Download Jenkins? tomcat> bin> webapp
4. Copy password >>>> cat ..


5. Install git> apt-get install git


6. Install maven? Wget https://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz

7. 修改maven镜像? conf目录下setting.xml文件
<mirror>d
<id>alimaven</id>
<mirrorOf>*</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/group/public/</url>
</mirror>


8. Configure Maven Integration
9. Global Tool Configuration (Global Tool Configuration) jdk

  9.1: echo $JAVA_HOME >配置jdk

  9.2. Which git> configure git

Guess you like

Origin www.cnblogs.com/Hanro-Z/p/12714873.html