3.91 out of 5
3.91
99 reviews on Udemy

Devops: Jenkins Pipeline As Code: All you need to know A – Z

Accelerate your learning with easy to understand examples and real time demonstrations of Jenkins Pipeline Scripts.
Instructor:
Accelerated Skillup .
1,586 students enrolled
English [Auto-generated]
Understand the difference between declarative pipeline syntax and scripted pipeline syntax
In depth knowledge of both syntax styles
Learn how to write common code to be shared across multiple jenkins jobs
Learn how to trigger jobs using pipeline scripts
Learn how you can make use of public java libraries in your pipeline script to be more productive
Learn how you can use docker in your pipeline script
Be confident in using Jenkins Pipeline as Code
And many, many more

***Updated for 2019 !!!***

Are you looking to use Jenkins pipeline as code FAST

“With Pipelines, organisations can define their delivery pipeline through a DSL (Pipeline-as-code). Pipelines, thus, can be versioned, checked into source and easily shared within an organisation. “


“The Pipeline DSL helps you capture complex process requirements through code – thus you can try-catch on deployment failures, loop through deployments, run tests in parallel. It brings the power of a programming language (groovy) to do so. At the same time, the DSL is simple enough to capture simple cases easily without having to touch groovy code. You can capture common patterns in functions and keep them in a global library so that new applications can build on these functions rather than re-invent.  “

Source: Cloudbees – Jenkins Pipeline – Software Delivery Made Easy

Jenkins Pipeline as Code allows you to define and automate pipelined job processes with code. Code that can be stored and versioned in a repository which allows you to track changes over time and used by jenkins to run build jobs. If you are already using Jenkins, you should have already heard of pipeline as code but if you have not, this course will help you learn what it is, and also help you to get started quickly with it to make your life as a devops practitioner much easier. This course will help you understand and use both declarative and scripted pipeline scripts and how to use shared libraries for common code across build jobs with realtime demonstrations of the pipeline scripts. Please also note that this is NOT a how to set up Jenkins course.

Introduction

1
Introduction

Declarative Pipeline

1
Overview Of Pipeline Syntax
2
Hello World Pipeline Script
3
Pipeline > Agent
4
Pipeline > Stage > Steps > Script
5
Pipeline > Stage > Steps > Retry/Timeouts
6
Pipeline > Tools
7
Pipeline > Stage > Options > Error/Retry
8
Pipeline > Stage > Options > Timeout
9
Pipeline > Stage > Options > Timestamps
10
Pipeline > Stage >Options > Timestamps (alternative method)
11
Pipeline > Stage > Options > SkipDefaultCheckout
12
Pipeline > Stage > Environment Credentials
13
Pipeline > Stage > When (Part 1)
14
Pipeline > Stage > When (Part 2) > Branch
15
Pipeline > Stage > When (Part 2) > BuildingTag and Tag
16
Pipeline > Stage > When (Part 2) > Changelog
17
Pipeline > Stage > When (Part 2) > ChangeRequest
18
Pipeline > Stage > When (Part 2) > Changeset
19
Pipeline > Stage > When (Part 3) > BeforeAgent
20
Pipeline > Stage > Parallel/FailFast
21
Pipeline > Stage > Input
22
Pipeline > Stage > Post
23
Pipeline > Options > BuildDiscarder
24
Pipeline > Options > DisableConcurrentBuilds
25
Pipeline > Options > OverrideIndexTriggers
26
Pipeline > Options > SkipStagesAfterUnstable
27
Pipeline > Options > CheckoutToSubdirectory
28
Pipeline > Options > NewContainerPerStage
29
Pipeline > Parameters
30
Pipeline > Pipeline Triggers > Cron
31
Pipeline > Pipeline Triggers > PollSCM
32
Pipeline > Pipeline Triggers > Upstream
33
Pipeline > Agent > Docker > Image
34
Pipeline > Agent > Docker > Args
35
Pipeline > Agent > Docker > AlwaysPull
36
Pipeline > Agent > Docker > CustomWorkspace
37
Pipeline > Agent > Docker > RegistryUrl/CredentialsId
38
Pipeline > Agent > Docker > Label
39
Pipeline > Agent > Docker > ReuseNode
40
Pipeline > Agent > Dockerfile
41
Pipeline > Agent > Dockerfile > Dir
42
Pipeline > Agent > Dockerfile > Filename
43
Pipeline > Agent > Dockerfile > AdditionalBuildArgs
44
Pipeline > Agent > Dockerfile > CustomWorkspace
45
Groovy Script Outside of Declarative Pipeline Script

Shared Libraries

1
Global Libraries
2
Importing Libraries
3
Importing Class Libraries
4
Importing Static Libraries
5
Custom Steps
6
Closures
7
Importing Third Party Libraries
8
Loading Resources
9
Defining Pipeline Script In Call Method

Scripted Pipeline

1
Introduction
2
Docker > Image
3
Docker > Args
4
Docker > AlwaysPull
5
Docker > CustomWorkspace
6
Docker > RegistryUrl/CredentialsId
7
Dockerfile
8
Dockerfile > Dir
9
Dockerfile > Filename
10
Dockerfile > AdditionalBuildArgs
11
Dockerfile > CustomWorkspace
12
Stage > Options > Error/Retry
13
Stage > Options > Timeout
14
Stage > Options > Timestamps
15
Stage > Environment Credentials
16
Stage > When (Part 1)
17
Stage > When (Part 2) > Branch
18
Stage > When (Part 2) > BuildingTag and Tag
19
Stage > When (Part 2) > Changelog
20
Stage > When (Part 2) > ChangeRequest
21
Stage > When (Part 2) > ChangeSet
22
Stage > Parallel/FailFast
23
Stage > Input
24
Stage > Post
25
Options > BuildDiscarder
26
Options > DisableConcurrentBuilds
27
Options > OverrideIndexTriggers
28
Options > SkipStagesAfterUnstable
29
Options > CheckoutToSubdirectory
30
Options > NewContainerPerStage
31
Parameters
32
Tools
33
Triggers > Cron
34
Triggers > PollSCM
35
Triggers > Upstream

End of Course

1
Congratulations!

Bonus Lectures

1
How To Get Output Of Shell Script
2
How To Create Env Variables For Shell Script
3
Pipeline Maven Integration (Part 1)
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
3.9
3.9 out of 5
99 Ratings

Detailed Rating

Stars 5
38
Stars 4
31
Stars 3
19
Stars 2
7
Stars 1
4
3ef9ccb77d1e826be5678b6e1c2af817
30-Day Money-Back Guarantee

Includes

7 hours on-demand video
1 article
Full lifetime access
Access on mobile and TV
Certificate of Completion