Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Jenkins pipeline

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

one。 Jenkins installation

Yum install java-11-openjdk java-11-openjdk-devel

Wget-O / etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo

Rpm-- import https://pkg.jenkins.io/redhat/jenkins.io.key

Yum install jenkins

Service jenkins start

Chkconfig jenkins on

At this point, the installation is complete.

Login Administration Page: http://192.168.233.100:8080/

Use the following command to view the first login password: cat / var/lib/jenkins/secrets/initialAdminPassword

If there are no special needs, just choose the recommended installation.

Pipeline engineering catalogue: / var/lib/jenkins/jobs

two。 Pipeline

New

Create a new task-- "enter a task name--" Select the lower column-- "OK.

Configuration

1) No parameter transfer

2) pass parameters

A relatively complete pipeline model

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report