Testing and then promoting
You do not want the QA team to review a packaged application until it has been automatically tested. To achieve this, you can use the promotion plugin.
Promotion is a visual signal in Jenkins. An icon is set next to a specific build to remind the team to perform an action.
The difference between the promotion and the favorites plugin mentioned in the last recipe is that the promotion plugin can be triggered automatically based on a variety of automated actions. Actions include the running of scripts or the verification of the status of other up or downstream jobs.
In this recipe, you will be writing two simple Jobs. The first Job will trigger the second Job, and if the second Job is successful, then the first Job will ...