- Lab
- A Cloud Guru
Build Triggers
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.
Path Info
Table of Contents
-
Challenge
Create webdev/index and Archive index.jsp
Configure maven M3
Create
webdev
folderConfigure 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
. -
Challenge
Create backend/tomcat and Trigger It to Build on index complete > successful
Create the
backend
folder andtomcat
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.
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.