C#.net automated release deployment configuration center practice CI/CD and CM configuration center series (1)
here are the various pits of CI installation jenkins
One, environment configuration
1.1.1 jdk 8.0 is recommended here to be more stable
Download https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
Reference instructions https://www.cnblogs.com/heqiyoujing/p/9502726 .html
requires an account to be registered. .
1.1.2 Select the installation package according to the configuration, here use
1.1.3 to select the directory
1.1.4 Environment configuration
1.1.5 Check whether it is successful
1.Jenkins installation
1.1 Set the directory
1.2 Windows account name/password
1.3 Set the port number
Start the service
after double-clicking and confirm the installation, after the jenkins installation, then go to the management tool -> service to have the jenkins corresponding service, start it (pay attention to the permissions and port restrictions) ;
Note: By default, jenkins will be installed in the system service, but if port 8080 is occupied, the service needs to be started manually, which means that the system cannot be started.
Enter the command after cmd.exe: cd C:\Program Files (x86)\Jenkins (the installation path) java -jar jenkins.war --ajp13Port=-1 --httpPort=8899
You can start the service through port 8899.
1.4 If there is no question below, it
will go straight to
1.5
Question
1.4.1. Jenkins does not need to install jdk?
Need
1.6 to fill in the password of the deployed machine copy this file and open the notepad to fill in this password
Okay, the bug was installed in the front and
changed to another method
java -jar jenkins.war --httpPort=8088
Some pits are slow, such as waiting for a long time to be loaded. . .
The pit
C is full
Update after deletion.
You can also update without FQ.
Install the plug-in and continue to step on the pit.
An error occurs and you cannot connect to Jenkins. The
reason is that the connection is too card to change the configuration hudson.model.UpdateCenter.xml
Installed plug-in
Create user