Jenkins Pipeline Scripting


Course Number: JEN-116WA
Duration: 2 days (13 hours)
Format: Live, hands-on

Jenkins Training Overview

This Jenkins Pipeline Scripting training course teaches attendees how to automate the continuous integration and continuous delivery (CI/CD) processes using Jenkins. Participants get an in-depth look at the Jenkins pipeline system and learn how to write powerful Groovy scripts to automate builds across multiple machines.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Understand CI/CD pipeline concepts
  • Use Groovy programming to automate tasks
  • Build, test, and deploy activities following Jenkins' best practices
  • Use libraries
  • Implement best practices for pipeline code

Prerequisites

All attendees must know the basics of Jenkins.

Outline

Expand All | Collapse All

Introduction
Jenkins Essentials Refresh
  • Continuous integration, continuous delivery (CI/CD)
  • Jenkins as orchestration for build tasks
  • Jenkins job types
  • Scheduling and triggering jobs
  • Security
Pipeline Concepts
  • Role for pipelines
  • Declarative and scripted pipelines
  • Declarative pipeline end-to-end example
  • Scripted pipeline end-to-end example
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
Distributed Builds
  • Designing for scale
  • Controlling where jobs run
  • Configuration management
  • Considerations for distributed builds
  • State management
  • Concurrency concerns
  • Latency concerns
Selected Plugins
  • Git, GitHub, GitLab, Bitbucket
  • Gerrit
  • Artifactory
  • Jira
  • Sonar
Groovy for Pipelines
  • Groovy and Pipeline Groovy
  • How pipeline Groovy works
  • @NonCPS annotation
  • Good practices for pipeline code
Libraries
  • Role of libraries
  • Defining libraries
  • Library structure
  • Using libraries
Extending Pipelines with Groovy
  • Groovy syntax
  • Data types
  • Operators
  • Flow control
  • Try/catch and exceptions
  • Functions
  • Closures
  • Classes
Best Practices
  • Best practices for writing and using pipelines
  • Common mistakes and how to avoid them
Conclusion

Training Materials

All Jenkins training students receive comprehensive courseware.

Software Requirements

Attendees will not need to install any software on their computers for this class. The class will be conducted in a remote environment that Accelebrate will provide; students will only need a local computer with a web browser and a stable Internet connection. Any recent version of Microsoft Edge, Mozilla Firefox, or Google Chrome will work well.



Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan