1. Download and unzip Tomcat
Tomcat official website: http://tomcat.apache.org/
Download and unzip, the directory structure after decompression is as follows:
2. Download and install Jenkins for your computer system
Jenkins official website: https://jenkins.io/
After downloading the installation package, click on the installation package and install Jenkins into the WebApps folder in the Tomcat directory extracted from step 1 when you select the installation directory
3. Configure Jenkins
Jenkins installation completes automatically launches TomCat and opens through the default browser: http://localhost:8080/
Or you can manually start tomcat by yourself, and then open your browser to access: http://localhost:8080/
How to start Tomcat one: Start the Startup.bat file in the Tomcat,bin directory
How to start Tomcat two: booting in a DOS environment (recommended because you can see the log file)
You can start by tapping the command directly or by dragging the Startup.bat file to the DOS interface.
After opening http://localhost:8080/through the browser:
Follow the prompts to open the: D:\Java\apache-tomcat-9.0.0.M26\webapps\Jenkins\secrets\initialAdminPassword file to view the password. Fill in the password into the input box and click the "Continue" button.
Next, follow the prompts to install.
Operation takes some time, Jenkins is helping us to install a variety of mainstream plug-in
The last part is to create an administrator account, just write it.
After the Jenkins installation configuration is complete, the following interface is shown:
In this way, Jenkins is well-equipped.
Jenkins Environment Setup (Windows)