Skip to main content

Build Triggers

Hands-On Lab


Photo of Michael McClaren

Michael McClaren

Linux Training Architect I in Content





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 jobs build launches the build of another job. We will be passing artifacts and using parameters.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.

All of the projects that have been created so far have been isolated and it is now time to link the jobs, create the index project in webdev, the tomcat project in backend, remeber that the index project should take a name argument and that the artifact of the index project needs to be sent to the tomcat project. The tomcat project should watch the index project to know when to build.

These projects use the maven M3 server, the index project needs to run bin/makeindex to create the index.jsp Tomcat needs to pull from index. The archive path in tomcat is src/main/webapp/index.jsp