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.
Successfully complete this lab by achieving the following learning objectives:
- Create webdev/index and Archive index.jsp
Configure maven M3
Configure the job to take parameters:
Pull from Git using the URL that is in the instructions
Build the top-level maven ‘clean package’
In a shell, run
- Create backend/tomcat and Trigger It to Build on index complete > successful
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.