Configuring upstream and downstream jobs
Let's configure a flow using and downstream jobs.
Getting ready
Make sure that you have all the build jobs available that you created in earlier chapters, such as the deployment of WAR files, functional testing, and load testing.
How to do it...
Once your package is ready, you should deploy it, so from the PetClinic-Package
job, you will configure PetClinic-Deploy
as a downstream job in Post-build Actions
:

Once your application is deployed on the server, you should perform functional test cases, so from the PetClinic-Deploy
job, you will configure PetClinic-FuncTest
as a downstream job in Post-build Actions
:

Once the functional test cases are executed successfully, you should perform load testing, so, from the PetClinic-FuncTest
job, you will configure PetClinic-LoadTest
as a downstream job in Post-build Actions
:

Once load testing is completed, you should deploy the application in the Prod
environment, so from the PetClinic-LoadTest
job, you will configure...