8295  Reviews star_rate star_rate star_rate star_rate star_half

Jenkins Pipeline Scripting

This two-day course takes Jenkins users beyond basic build jobs, providing a comprehensive overview of pipelines. Pipelines support sophisticated continuous integration and continuous delivery...

Read More
$1,460 USD
Duration 2 days
Course Code WA2944
Available Formats Classroom

Overview

This two-day course takes Jenkins users beyond basic build jobs, providing a comprehensive overview of pipelines. Pipelines support sophisticated continuous integration and continuous delivery processes, using a rich domain-specific language augmented by Groovy programming to automate tasks, even across multiple machines.

Skills Gained

After this course, you will have the tools to start automating your software build, test, and deployment activities following Jenkins best practices.

Prerequisites

A knowledge of basic Jenkins is assumed, but no prior experience with pipelines is required.

Course Details

Course Outline

Chapter 1 Jenkins essentials refresh

Review of the fundamentals of Jenkins; baseline knowledge to study pipelines.

  • Continuous integration, continuous delivery
  • Jenkins as orchestration for build tasks
  • Jenkins job types
  • Scheduling and triggering jobs
  • Security

Chapter 2 Pipeline concepts

  • Role for pipelines
  • Declarative and scripted pipelines
  • Declarative pipeline end to end example
  • Scripted pipeline end to end example

Chapter 3 Pipeline domain specific language

  • Agents and nodes
  • Stages and steps
  • Workspaces
  • Shell and tools
  • Credentials and secret management
  • User input
  • Flow control
  • Stashing and archiving
  • Notification

Chapter 4 Distributed builds

  • Designing for scale
  • Controlling where jobs run
  • Configuration management
  • Considerations for distributed builds
  • State management
  • Concurrency concerns
  • Latency concerns

Chapter 5 Selected plugins

  • Git, GitHub, GitLab, Bitbucket
  • Gerrit
  • Artifactory
  • Jira
  • Sonar

Chapter 6 Groovy for pipelines

  • Groovy and Pipeline Groovy
  • How pipeline Groovy works
  • @NonCPS annotation
  • Good practices for pipeline code

Chapter 7 LIbraries

  • Role of libraries
  • Defining libraries
  • Library structure
  • Using libraries

Chapter 8 Extending pipelines with Groovy

  • Groovy syntax
  • Data types
  • Operators
  • Flow control
  • Try/catch and exceptions
  • Functions
  • Closures
  • Classes

Chapter 9 Best practices

  • A collection of best practices for writing and using pipelines.  Some common mistakes and how to avoid them.


The course features four labs, one for each half-day, for hands-on exploration of the topics covered in lecture and discussion.

Declarative and scripted pipelines

Explores pipelines, both declarative and scripted, using common commands.

Distributed and concurrent builds

Build on multiple nodes.  Parallel builds.  Jobs that run on nodes other than master.Parallel execution of jobs.  Sharing assets across parallel jobs;.  Demonstraton of race condition.

Libraries

Refactor a pipeline and move reusable code to a shared library.  Parameterize the library function to make it a more general utility.  Consume the library in a pipeline and make use of the utility function.

Groovy

Write a pipeline that uses Groovy to configure and run a complex combination of build and test conditions.

  • Chapter 1 Jenkins essentials refresh
  • Chapter 2 Pipeline concepts
  • Chapter 3 Pipeline domain specific language
  • Chapter 4 Distributed builds
  • Chapter 5 Selected plugins
  • Chapter 6 Groovy for pipelines
  • Chapter 7 LIbraries
  • Chapter 8 Extending pipelines with Groovy
  • Chapter 9 Best practices

Schedule

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

the course is good, covers many aspects, wish the lab is a little bit more in depth

Exit certified was great as it is very in depth and hands on learning which made it very easy to learn this type of work.

Concise and good to follow along. Although it is a lot to take in under a short period of time.

The class was very vast paced however the teacher was very good at checking in on us while giving us time to complete the labs.

I think the platform is very good and look forward to taking my next course in early October.