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
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