We may earn an affiliate commission when you visit our partners.
Course image
Accelerated Skillup .

Please note that this is NOT a how to set up Jenkins course. This is a course for people who ALREADY knows what jenkins pipelines are used for, want to use it and want to get up to speed with the syntax or learn more about it quickly. Get latest course updates in the readme when you search for user pipelineascodecourse in github

Read more

Please note that this is NOT a how to set up Jenkins course. This is a course for people who ALREADY knows what jenkins pipelines are used for, want to use it and want to get up to speed with the syntax or learn more about it quickly. Get latest course updates in the readme when you search for user pipelineascodecourse in github

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.

Enroll now

12 deals to help you save

We found 12 deals and offers that may be relevant to this course.
Save money when you learn. All coupon codes, vouchers, and discounts are applied automatically unless otherwise noted.
Use code at checkout. Ended October 29
24-Hour Flash Sale
Save on all online courses in your cart and take advantage of big savings.
FLASH SALE
24T6MT102824
Use code at checkout. Ended October 19
24-Hour Flash Sale
Save on all online courses in your cart and take advantage of big savings.
FLASH SALE
ST15MT100124A
Ended October 8
24-Hour Flash Sale
Take advantage of big savings on online courses.
Up to
80%
off
Ended September 28
24-Hour Flash Sale! Save up to 85% on Udemy online courses.
For 24 hours, save big on courses from Udemy's extensive catalog.
Up to
85%
off
Ended September 25
Save on courses
Gain the skills you need to reach your next career milestone.
Up to
85%
off
Use code at checkout. Only 2 days left!
24-Hour Sale
Save with steep discounts on most courses including bestsellers from popular instructors.
Flash Sale!
ST7MT110524
Use code at checkout. Ended October 12
Explore new possibilities
Start exploring new possibilities for your future with courses on sale.
Up to
85%
off
ST14MT101024
Use code at checkout. Valid until November 13
Get skills that impress
Learn from courses across popular topics and take big discounts during this 48-hour sale.
Up to
80%
off
ST20MT111124A
Ended October 1
Personal Plan sale
Gain unlimited access to thousands of courses. For a limited time, save when you start an annual subscription.
From
40%
off
Use code at checkout. Valid until December 1
For new customers
Save when you purchase top courses. For new customers only.
Special Offer
UDEAFNULP2024
Ended November 1
New customer offer
New customers, complete your first order and save big.
Up to
80%
off
Valid for a limited time only
Future-proof your career
Access O'Reilly books, live events, courses, and more. Save with an annual subscription.
Take
15%
off

What's inside

Learning objectives

  • 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

Syllabus

Introduction
Declarative Pipeline
Overview Of Pipeline Syntax
Hello World Pipeline Script
Read more
Pipeline > Agent
Pipeline > Stage > Steps > Script
Pipeline > Stage > Steps > Retry/Timeouts
Pipeline > Tools
Pipeline > Stage > Options > Error/Retry
Pipeline > Stage > Options > Timeout
Pipeline > Stage > Options > Timestamps
Pipeline > Stage >Options > Timestamps (alternative method)
Pipeline > Stage > Options > SkipDefaultCheckout
Pipeline > Stage > Environment Credentials
Pipeline > Stage > When (Part 1)
Pipeline > Stage > When (Part 2) > Branch
Pipeline > Stage > When (Part 2) > BuildingTag and Tag
Pipeline > Stage > When (Part 2) > Changelog
Pipeline > Stage > When (Part 2) > ChangeRequest
Pipeline > Stage > When (Part 2) > Changeset
Pipeline > Stage > When (Part 3) > BeforeAgent
Pipeline > Stage > Parallel/FailFast
Pipeline > Stage > Input
Pipeline > Stage > Post
Pipeline > Options > BuildDiscarder
Pipeline > Options > DisableConcurrentBuilds
Pipeline > Options > OverrideIndexTriggers
Pipeline > Options > SkipStagesAfterUnstable
Pipeline > Options > CheckoutToSubdirectory
Pipeline > Options > NewContainerPerStage
Pipeline > Parameters
Pipeline > Pipeline Triggers > Cron
Pipeline > Pipeline Triggers > PollSCM
Pipeline > Pipeline Triggers > Upstream
Pipeline > Agent > Docker > Image
Pipeline > Agent > Docker > Args
Pipeline > Agent > Docker > AlwaysPull
Pipeline > Agent > Docker > CustomWorkspace
Pipeline > Agent > Docker > RegistryUrl/CredentialsId
Pipeline > Agent > Docker > Label
Pipeline > Agent > Docker > ReuseNode
Pipeline > Agent > Dockerfile
Pipeline > Agent > Dockerfile > Dir
Pipeline > Agent > Dockerfile > Filename
Pipeline > Agent > Dockerfile > AdditionalBuildArgs
Pipeline > Agent > Dockerfile > CustomWorkspace
Groovy Script Outside of Declarative Pipeline Script
Test Your Knowledge!
Shared Libraries
Global Libraries
Importing Libraries
Importing Class Libraries
Importing Static Libraries
Custom Steps
Closures
Importing Third Party Libraries
Loading Resources
Defining Pipeline Script In Call Method
Test Your Knowledge!
Scripted Pipeline
Docker > Image
Docker > Args
Docker > AlwaysPull
Docker > CustomWorkspace
Docker > RegistryUrl/CredentialsId
Dockerfile
Dockerfile > Dir
Dockerfile > Filename
Dockerfile > AdditionalBuildArgs
Dockerfile > CustomWorkspace
Stage > Options > Error/Retry
Stage > Options > Timeout
Stage > Options > Timestamps
Stage > Environment Credentials
Stage > When (Part 1)
Stage > When (Part 2) > Branch
Stage > When (Part 2) > BuildingTag and Tag
Stage > When (Part 2) > Changelog
Stage > When (Part 2) > ChangeRequest
Stage > When (Part 2) > ChangeSet
Stage > Parallel/FailFast
Stage > Input
Stage > Post
Options > BuildDiscarder
Options > DisableConcurrentBuilds
Options > OverrideIndexTriggers
Options > SkipStagesAfterUnstable
Options > CheckoutToSubdirectory
Options > NewContainerPerStage
Parameters
Tools
Triggers > Cron
Triggers > PollSCM
Triggers > Upstream
End of Course
Congratulations!
Bonus Lectures

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Caters to experienced learners who want to master using a popular industry tool in a modern context
Taught by an experienced professional in the field, ensuring you learn from the best in the industry
Delves deep into industry-standard tools and practices, giving you a competitive edge in the job market
Beginners may need some prior experience or knowledge to fully grasp the concepts covered
Focuses on practical skills and immediately applicable knowledge, making it a valuable investment for your career
Course materials are well-structured and easy to follow, ensuring a smooth learning experience

Save this course

Save Devops: Jenkins Pipeline As Code: All you need to know A - Z to your list so you can find it easily later:
Save

Reviews summary

Jenkins pipeline as code: advanced

According to students, this tutorial is best suited for those who are already familiar with the basics of Jenkins. Learners say this advanced course does a great job in explaining how declarative pipelines work in Jenkins. They describe the included cheat sheet as brilliant and the lessons as well-suited for more advanced users.
Helpful cheat sheet included
"Brilliant cheat sheet."
Assumes prior knowledge of Jenkins
"In my opinion tutorial for more advanced users."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Devops: Jenkins Pipeline As Code: All you need to know A - Z with these activities:
Compile a list of resources on Jenkins Pipeline as Code
Organize and document useful resources on Jenkins Pipeline as Code for future reference and knowledge retention
Show steps
  • Search for online resources on Jenkins Pipeline as Code
  • Create a document to store the resources
  • Categorize the resources
  • Annotate the resources with brief descriptions
Review declarative pipeline syntax
Reviewing declarative pipeline syntax will help you start the course with a stronger foundation.
Show steps
  • Read the documentation on declarative pipeline syntax.
  • Create a simple declarative pipeline script and run it.
  • Identify the basic elements of a declarative pipeline script, such as stages, steps, and options.
  • Practice writing declarative pipeline scripts for common tasks, such as building and testing code.
Review Groovy syntax
Get reacquainted with Groovy syntax before taking this course to maximize learning outcomes
Show steps
  • Review Groovy online documentation
  • Read through a Groovy tutorial
  • Work through some Groovy coding exercises
Ten other activities
Expand to see all activities and additional details
Show all 13 activities
Create a simple Jenkins pipeline job
By building a simple pipeline job, you will get hands-on experience with Jenkins pipelines and see how they work.
Show steps
  • Create a new Jenkins pipeline job in your Jenkins instance.
  • Write a declarative pipeline script for the job.
  • Configure the job to run on a specific agent.
  • Configure the job to build and test your code.
  • Run the job and observe the results.
Practice writing declarative pipeline scripts for different scenarios
By practicing writing declarative pipeline scripts for different scenarios, you will develop proficiency in using this syntax.
Show steps
  • Identify a list of different scenarios that you want to practice.
  • For each scenario, write a declarative pipeline script that will automate the process.
  • Run the pipeline scripts and observe the results.
Build a simple declarative pipeline script
Build a simple declarative pipeline script to gain hands-on experience with the syntax
Show steps
  • Create a new pipeline script in Jenkins
  • Use the declarative pipeline syntax to define the pipeline
  • Add some basic steps to the pipeline, such as a checkout step and a build step
  • Run the pipeline and observe the results
Discuss Jenkins pipelines with other students
Engaging in discussions with other students will provide you with different perspectives and enhance your understanding of Jenkins pipelines.
Show steps
  • Find a peer group or online forum where you can discuss Jenkins pipelines with other students.
  • Participate in discussions, ask questions, and answer the questions of others.
  • Share your knowledge and experiences with other students.
Follow a tutorial on creating a shared library
Learn how to create and use shared libraries to organize and reuse common code in your pipeline scripts
Show steps
  • Find a tutorial on creating a shared library in Jenkins
  • Follow the steps in the tutorial to create a shared library
  • Import the shared library into your pipeline script
  • Use the shared library in your pipeline script
Follow a tutorial on advanced Jenkins pipeline features
Following a tutorial on advanced Jenkins pipeline features will allow you to further improve your knowledge and skills on the topic.
Show steps
  • Identify a tutorial on a specific advanced Jenkins pipeline feature.
  • Follow the tutorial step by step.
  • Test the feature out to ensure that you understand how to use it.
Attend a Jenkins pipeline workshop
Workshops will provide you with opportunities for deeper learning and networking with other professionals in the field.
Show steps
  • Find a Jenkins pipeline workshop that is relevant to your interests.
  • Register for and attend the workshop.
  • Participate in the workshop activities and ask questions.
  • Network with other attendees and speakers.
Create a Jenkins Pipeline as Code project
Build a real-world Jenkins Pipeline as Code project to demonstrate your skills and deepen your understanding
Show steps
  • Choose a project idea
  • Create a new Jenkins project
  • Write a Jenkins Pipeline as Code script for your project
  • Configure your project in Jenkins
  • Run your project and observe the results
Write a blog post about your experience with Jenkins pipelines
Writing a blog post will help you to solidify your understanding of Jenkins pipelines and encourage you to reflect on what you have learned.
Show steps
  • Choose a topic to write about, such as the benefits of using Jenkins pipelines, how to create a simple pipeline job, or how to troubleshoot common pipeline problems.
  • Write an outline for your blog post.
  • Write the first draft of your blog post.
  • Edit and proofread your blog post.
  • Publish your blog post.
Volunteer to help maintain a Jenkins pipeline project
Contributing to a Jenkins pipeline project will give you real-world experience and further develop your skills.
Show steps
  • Find a Jenkins pipeline project that you are interested in.
  • Contact the project maintainers and offer your help.
  • Work with the project maintainers to identify tasks that you can help with.
  • Contribute to the project.
  • Review code changes and provide feedback.

Career center

Learners who complete Devops: Jenkins Pipeline As Code: All you need to know A - Z will develop knowledge and skills that may be useful to these careers:
DevOps Engineer
DevOps Engineers are in charge of the systems development life cycle (SDLC). They create and implement strategies that improve the speed and quality of software development and delivery. This course helps build a foundation for the coding and scripting skills needed in this position. The Jenkins Pipeline as Code course will be especially helpful in learning how to define and automate the SDLC process with code.
Software Engineer
Software Engineers design, develop, test, deploy, and maintain software systems. This course helps build a foundation for the coding and scripting skills needed in this position. The Jenkins Pipeline as Code course will be especially helpful in learning how to write scripts for common tasks to improve the efficiency of the software development process.
Site Reliability Engineer
Site Reliability Engineers are responsible for maintaining and improving the reliability of software systems. They may work on projects to improve the performance, availability, and scalability of software systems. This course is especially helpful to those interested in this role, as it provides a deep dive into the Jenkins Pipeline as Code, which can help organizations automate their software delivery process and improve their overall efficiency.
DevOps Consultant
DevOps Consultants help organizations improve their software development and delivery processes. They may work with clients to assess their current processes, identify areas for improvement, and develop and implement new strategies. This course is especially helpful to those interested in this role, as it provides a deep dive into the Jenkins Pipeline as Code, which can help organizations automate their software delivery process and improve their overall efficiency.
Cloud Engineer
Cloud Engineers design, build, and manage cloud computing systems. They may work on projects to migrate applications to the cloud, optimize cloud infrastructure, or develop new cloud-based services. This course may be helpful to those interested in this role, as it provides a deep dive into the Jenkins Pipeline as Code, which can help organizations automate their software delivery process and improve their overall efficiency.
Data Engineer
Data Engineers design, build, and maintain data pipelines. They may work on projects to collect, clean, and transform data, or to develop new data analytics applications. This course may be helpful to those interested in this role, as it provides a deep dive into the Jenkins Pipeline as Code, which can help organizations automate their data pipelines and improve their overall efficiency.
Technical Project Manager
Technical Project Managers are responsible for planning, executing, and monitoring software development projects. They may work with stakeholders to define project requirements, develop project plans, and track project progress. This course is especially helpful to those interested in this role, as it provides a deep dive into the Jenkins Pipeline as Code, which can help organizations automate their software delivery process and improve their overall efficiency.
Quality Assurance Analyst
Quality Assurance Analysts test software systems to ensure that they meet quality standards. They may work on projects to develop test plans, execute tests, and report defects. This course may be helpful to those interested in this role, as it provides a deep dive into the Jenkins Pipeline as Code, which can help organizations automate their software testing process and improve their overall efficiency.
Systems Analyst
Systems Analysts design, develop, and implement computer systems. They may work on projects to improve the efficiency of business processes, or to develop new systems to meet business needs. This course may be helpful to those interested in this role, as it provides a deep dive into the Jenkins Pipeline as Code, which can help organizations automate their software delivery process and improve their overall efficiency.
Software Developer
Software Developers design, develop, test, and maintain software applications. This course helps build a foundation for the coding and scripting skills needed in this position.
Database Administrator
Database Administrators design, implement, and maintain databases. This course may be helpful for those interested in this role, as it provides a deep dive into the Jenkins Pipeline as Code, which can help organizations automate their database management tasks and improve their overall efficiency.
Information Security Analyst
Information Security Analysts design, implement, and maintain information security systems. This course may be helpful for those interested in this role, as it provides a deep dive into the Jenkins Pipeline as Code, which can help organizations automate their security processes and improve their overall security posture.
Network Engineer
Network Engineers design, implement, and maintain computer networks. This course may be helpful for those interested in this role, as it provides a deep dive into the Jenkins Pipeline as Code, which can help organizations automate their network management tasks and improve their overall efficiency.
IT Manager
IT Managers plan, organize, and direct the activities of an organization's IT department. This course may be helpful to those interested in this role, as it provides a deep dive into the Jenkins Pipeline as Code, which can help organizations automate their IT processes and improve their overall efficiency.
Project Manager
Project Managers plan, execute, and monitor projects. This course may be helpful to those interested in this role, as it provides a deep dive into the Jenkins Pipeline as Code, which can help organizations automate their project management processes and improve their overall efficiency.

Reading list

We've selected eight books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Devops: Jenkins Pipeline As Code: All you need to know A - Z.
Comprehensive guide to Jenkins, covering everything from installation and configuration to advanced topics such as pipeline management and security.
Docker in Action introduces Docker and its ecosystem, including containerization, image management, and orchestration. It provides a solid foundation for understanding and using Docker in the context of Jenkins pipelines and CI/CD.
Building Continuous Delivery Systems with Jenkins focuses on building and managing continuous delivery systems using Jenkins. It provides insights into the principles and practices of continuous delivery, as well as hands-on guidance on implementing them with Jenkins.
Provides a comprehensive guide to Docker. It covers everything from the basics of Docker to advanced topics such as Docker Swarm and Kubernetes. It valuable resource for anyone who wants to learn more about Docker and how to use it effectively.
Provides a practical guide to using Jenkins. It covers topics such as creating pipelines, using plugins, and extending Jenkins. It valuable resource for anyone who wants to learn more about Jenkins and how to use it effectively.
Provides a comprehensive guide to Jenkins. It covers everything from the basics of Jenkins to advanced topics such as pipeline as code and cloud integration. It valuable resource for anyone who wants to learn more about Jenkins and how to use it effectively.
Provides practical advice on how to implement DevOps practices in your organization. It covers topics such as cultural change, process improvement, and tool selection.
Provides a practical guide to Docker, a platform for building and deploying containerized applications. It covers topics such as image creation, container management, and networking.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Devops: Jenkins Pipeline As Code: All you need to know A - Z.
Learn DevOps: CI/CD with Jenkins using Pipelines and...
Most relevant
Deploying Java-Maven Application With Jenkins CI/CD Tool
Most relevant
Using Declarative Jenkins Pipelines
Most relevant
Jenkins Pipelines
Most relevant
Jenkins, From Zero To Hero: Become a DevOps Jenkins Master
Most relevant
Building a Modern CI/CD Pipeline with Jenkins
Most relevant
DevOps: CI/CD with Jenkins pipelines, Maven, Gradle
Most relevant
Build and Deploy Pipelines with Microsoft Azure
Most relevant
Learn Github Actions for CI/CD DevOps Pipelines
Most relevant
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser