Jenkins continuous integration of CI

Jenkins continuous integration of CI

Global Configuration

System Management - "Global Configuration Tool, configure Git, JDK and Maven

1) extracting maven to the current directory

tar zxf apache-maven-3.5.4-bin.tar.gz

2) mobile maven unzip all the files to the directory under / usr / local / maven / directory

mv apache-maven-3.5.4/* /usr/local/maven/

3) Set maven environment variables (added behind)

vi /etc/profile
export MAVEN_HOME=/usr/local/maven
export PATH=${MAVEN_HOME}/bin:${PATH}

4) the environment variables to take effect

source /etc/profile

5) Verify whether the installation was successful maven

 

Jenkins maven install plugin

 

Trigger a build configuration

 

 Cloud code repository configuration WebHooks

 

 

Guess you like

Origin www.cnblogs.com/gaogaoyanjiu/p/10989807.html