One: Jenkins installation

1. The official download address: www.jenkins.io/download/

War package installation: start Jenkins command, open CMD to Jenkins installation directory, run java-jar jenkins.war to change the default port, specify the port such as port number 9080: Java-jar Jenkins. War –httpPort=9080. Jenkins installed this way can run in a Web container (such as Tomcat) and is not recommended as a continuous integration environment.

3. Msi installation package installation (adopted here) : After installation, Jenkins service will be automatically registered in Windows system service; If ports conflict. Open the jenkins.xml file in the installation directory, Find Xrs – Xmx256m – Dhudson. Lifecycle = Hudson. Lifecycle. WindowsServiceLifecycle – jar “% BASE % \ Jenkins. War” – httpPort = 9080 –webroot=”%BASE%\war”, change the port number to 9080, restart the service.



4. When you log in to Localhost :9080, the following page is displayed. Enter the password file and click Continue

5. Install plug-ins: Select the recommended plug-ins to Install

6. Set the user name and password, and click Save. The page is displayed