Build Triggers

1.5 hours
  • 2 Learning Objectives

About this Hands-on Lab

In this lab we will be looking at the way jobs interact with one another. This is part of the process of making a pipeline in which one job’s build launches the build of another job. We will be passing artifacts and using parameters.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create webdev/index and Archive index.jsp

Configure maven M3

Create webdev folder

Configure the job to take parameters: name=steve

Pull from Git using the URL that is in the instructions

Build the top-level maven ‘clean package’

In a shell, run bin/makeindex

Archive index.jsp.

Create backend/tomcat and Trigger It to Build on index complete > successful

Create the backend folder and tomcat subfolder.

Create the tomcat frestyle project.

Configure trigger on index successful

Pull from the Git Url in lab instructions.

Build top-level maven ‘clean package’

Make sure that it runs after index completes.

Check index for steve.

Additional Resources

Jenkins login user: student
pass: OmgPassword!

index GitHub repository:
https://github.com/linuxacademy/content-cje-prebuild.git

tomcat GitHub repository:
https://github.com/linuxacademy/content-jenkinscert.git

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!