From the course: Jenkins Essential Training
Create a pipeline project - Jenkins Tutorial
From the course: Jenkins Essential Training
Create a pipeline project
- [Instructor] I'm logged into my Jenkins server, and I trust that you have a server that you can use to follow along. Let's create our first pipeline job. I'll start by clicking new item, and then I'll give it a name. I'll just call it first pipeline. And then I'll select pipeline for the project type, and then I'll click okay. I'm not going to add a description or mess with any of the options here. I'm just going to go straight to the pipeline section and click try sample pipeline. And I'm going to select hello world. And that will enter a pipeline script that prints the message "hello world" in one stage called hello. So I will save that and then click build now. And I'll give it a second for this job to complete. Okay, the job is done, and I'm just going to pause here. I want you to take a moment to explore the interface a bit. And if you've used Jenkins before, it should be pretty familiar, perhaps with a few new additions. This pipeline was fairly simple. So before we turn up the complexity, let's discuss all the parts that make up a pipeline.
Contents
-
-
-
-
Create a pipeline project1m 14s
-
(Locked)
Create a declarative pipeline4m 38s
-
(Locked)
Use the pipeline Snippet Generator4m 24s
-
(Locked)
Use variables in a pipeline5m 8s
-
(Locked)
Parameterize a pipeline4m 48s
-
(Locked)
Use conditional expressions and manual approvals4m 31s
-
(Locked)
Challenge: Develop a parameterized pipeline2m 15s
-
(Locked)
Solution: Develop a parameterized pipeline10m 7s
-
-
-
-
-
-