From the course: Jenkins Essential Training
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Solution: Develop a parameterized pipeline - Jenkins Tutorial
From the course: Jenkins Essential Training
Solution: Develop a parameterized pipeline
(upbeat music) - [Instructor] In this challenge, we're being asked to create a parameterized pipeline. I'm starting here in the exercise files for this challenge where there's a sample template that we can use to get started with the pipeline. So I'll click this icon here to copy the contents of the pipeline script to my clipboard. And then I'll go to my Jenkins server which I have opened in another tab here. I'll start by clicking New Item and I'll call this one parameterized-pipeline and then select Pipeline type. Click OK, and I'll go straight to the pipeline section and paste this in. And we've copied this in. I just want to make sure that everything is good here. I'm going to click Save and then Build Now, just to make sure that there's no problems with the template or anything like that. Okay, the build has completed, we have three stages. Looks great. Test, Deploy, and Report. So if I recall the challenge, we…
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
-
-
-
-
-
-