This Continuous Deployment pipeline contains seven Jenkins jobs (five old and two new ones). In this section, we will modify Jenkins job 5 and create two new ones.
The modification is pretty simple. We need to add a post build step to an existing Jenkins job, Performance_Testing
. In this way, the Performance_Testing
job will be able to trigger the new Jenkins job, Merge_Production_Ready_Code_Into_Master_Branch
, that we will be creating in the coming sections.
The fifth Jenkins job in the Continuous Deployment pipeline performs the following tasks:
It performs the performance test
It passes the
GIT_COMMIT
andBUILD_NUMBER
variables to the Jenkins job that performs the performance test (new functionality)
The following figure will help us understand what the Jenkins job does. It's a slightly modified version of what we saw in the previous chapter.
Follow...