In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you about what jenkins pipline continuous integration, the editor feels very practical, so share with you to learn, I hope you can get something after reading this article, say no more, follow the editor to have a look.
We can use jenkins's pipline continuous integration. Scripted pipline is written in a restricted form of Groovy syntax. For more information, please see https://jenkins.io/zh/doc/.
Here we first use docker to deploy a Jenkins, which has become much more convenient since docker. Here we use the installation method in the jenkins user's instructions.
Here is a screenshot of the official document to explain the meaning of each parameter:
Docker run\-u root\-- rm\ 1-d\ 2-p 808015 8080-3-p 50000 rm 50000\ 4-v jenkins-data:/var/jenkins_home\ 5-v / var/run/docker.sock:/var/run/docker.sock\ 6 jenkinsci/blueocean 7
After the installation is complete, then we can visit the jenkins page, but just entered, you may see a page like this
Here you can get the password from the directory of the title here, for example, use docker exec-it 69d1 bash to enter the container. If you do the mapping, you can get it from the corresponding file of the mapping. Next, you can set the user name, password and plug-in, and then you can create the pipline project.
If I create a project, I simply execute this logic, but nothing is done.
After saving, execute it, and you can see a page like this
In essence, Jenkins is an automation engine that supports many automatic modes. Pipelining adds a set of powerful tools to Jenkins that support simple and continuous integration of use cases into a comprehensive CD pipeline. By modeling a series of related tasks, users can take advantage of many of the features of pipelining:
Code: pipelining is implemented in code, and source code control is usually checked, giving teams the ability to edit, review, and iterate their delivery pipelining.
Durable: pipelining can survive planned and unplanned restarts of the main branch of Jenkins.
Pausable: the pipeline can selectively stop or wait for manual input or approval before continuing to run the pipeline.
Versatile: pipelining supports complex real-world CD requirements, including fork/join, loops, and the ability to perform work in parallel.
Extensible: pipelined plug-ins support conventions that extend to its DSL [1] and multiple options to integrate with other plug-ins.
The above is what jenkins pipline continuous integration, the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.