C#.net automated release deployment configuration center practice CI/CD and CM configuration center series (1)

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. .
Insert picture description here

1.1.2 Select the installation package according to the configuration, here use
Insert picture description here
1.1.3 to select the directory
Insert picture description here

1.1.4 Environment configuration
Insert picture description here
1.1.5 Check whether it is successful
Insert picture description here

1.Jenkins installation

1.1 Set the directory
Insert picture description here
1.2 Windows account name/password
Insert picture description here
1.3 Set the port number
Insert picture description here
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
Insert picture description here
will go straight to
Insert picture description here

1.5
Insert picture description here

Question
1.4.1. Jenkins does not need to install jdk?
Need
Insert picture description here
1.6 to fill in the password of the deployed machine copy this file and open the notepad to fill in this password
Insert picture description here

Insert picture description here

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
Insert picture description here

Insert picture description here
Update after deletion.
Insert picture description here
You can also update without FQ.
Insert picture description here
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
Insert picture description here
Insert picture description here

Insert picture description here
Installed plug-in
Insert picture description here

Create user
Insert picture description here

Guess you like

Origin blog.csdn.net/cao919/article/details/111605138