This article is a mirror article of machine translation, please click here to jump to the original article.

View: 2349|Reply: 0

Jenkins (7) Linux server builds Jenkins version 2.462.1

[Copy link]
Posted on 9/6/2024 9:35:58 PM | | | |
Requirements: Automated compilation and release processes for projects based on Jenkins.

Review:

Jenkins (6) ThinBackup plug-in for data backup
https://www.itsvse.com/thread-10150-1-1.html

Jenkins (5) Project group presentation
https://www.itsvse.com/thread-10132-1-1.html

Jenkins (4) Add a Linux node and register it as a service
https://www.itsvse.com/thread-10120-1-1.html

Jenkins (3) Plugin image site acceleration
https://www.itsvse.com/thread-9658-1-1.html

Jenkins (2) Windows Reset Password Tutorial
https://www.itsvse.com/thread-9608-1-1.html

Jenkins (1) Continuous integration, automation, and installation of Jenkins tutorials
https://www.itsvse.com/thread-9483-1-1.html

First, Jenkins is a tool developed based on the Java language, which requires the installation of the JDK runtime, and the Java version requirements are as follows:

The hyperlink login is visible.



To install Java 21, please refer to the following articles:

Linux download and install OpenJDK version 21.0.2
https://www.itsvse.com/thread-10822-1-1.html

After installing the required environment, run the following command on the Linux server:

After downloading the war package, you need to turn off SELINUX on your system, as follows:

A thorough understanding of what selinux in linux is
https://www.itsvse.com/thread-7772-1-1.html

After that, create a new one under the /etc/systemd/system/ directoryjenkins.servicefile, configured as follows:

Start and set up the boot with the following commands:

Open in your browserhttp://ip:12001and look at /data/middleware/jenkins/custom_data/secrets/initialAdminPasswordCheck the initial password and go straight to the next step. (omitted)



Remember to install some commonly used packages on your system, such as git and dotnet. Recently, I have been researching the pipelines configuration in gitlab, and I should not be in contact with Jenkins for a long time after that, so I will see you soon.

(End)




Previous:Encrypt the backend using the RSA algorithm (. NET) decrypted
Next:Summary of SQL Server 2008~2022 version serial numbers/keys/activation codes
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com