jekins deployment release war package

Prerequisite: jdk and maven are deployed under linux, and the etc/profile environment variable is configured with 
1 to start the jekins.war package 
  # nohup java -jar jenkins.war --httpPort=8888 > jenkins.log 2>&1 & 
2 Log in to the jenkins web interface , create an automatic build project 



3 Configure the svn directory; specify it to the project directory: 


4 Build environment: 

5 Build (MAVEN packaging command): clean install -Dmaven.test.skip=true 


 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326310982&siteId=291194637