About Jenkins
Jenkins is a continuous integration tool based on Java development that monitors ongoing duplication of work, including:
1. Continuous software release/test project. 2. Monitor the work performed by external calls. Installation Environment
Operating system: Linux (CentOS)
Software: JDK
Software: Tomcat
Software: Jenkins (2.7.1 version)
Installation steps
1. Since Jenkins is a Java-based development, confirm that the operating system has a JDK installed prior to installation, refer to: "Linux" JDK Installation and configuration (version tar.gz)
2. Download Jenkins ' War package from official website, address https://jenkins.io/
3. Press Jenkins.war package on Tomcat (Tomcat install: "Linux" Tomcat installation and one server configured with multiple Tomcat) under WebApps below
4. Start Tomcat. Tomcat will unzip the war package, generate a Jenkins folder, and generate a. Jenkins folder in the root directory. Such as:
5. Enter the IP address (http://ip: Port/jenkins) on the browser to access it.
6. First entry to Jenkins if you want to enter a password, password location:/root/.jenkins/secrets/initialadminpassword
7. Go to the Select Plugin installation screen and select the first one (install suggested plugins)
8. After the plug-in installation is complete, you need to create the first user
9. Once you've created a user, you're ready to use Jenkins.
Note
If the plug-in installation fails, you can go to the mirror address: https://mirrors.tuna.tsinghua.edu.cn/jenkins, manual download, and then through the plug-in management of advanced, upload
Installation and configuration of the Linux---Jenkins