Answers: <p>Job chaining is a CI/CD anti-pattern and one of the big drivers behind developing pipelines. If the next step in the equation is to do more work, just make it a stage in the pipeline. If you need separation for whatever reason, make the freestyle job a pipeline job and add a post->success step.</p>
  
  <p><a href="https://jenkins.io/doc/book/pipeline/syntax/#post" rel="nofollow noreferrer">https://jenkins.io/doc/book/pipeline/syntax/#post</a></p>
  
Answers: CC BY-SA 4.0
Answers: 2020-03-20T17:38:18.570Z
Answers: 2020-03-20T17:38:18.570Z
Answers: casey vega
Body: <p>I have a request from a user who is currently using the <a href="https://wiki.jenkins.io/pages/viewpage.action?pageId=77889556" rel="nofollow noreferrer">Promoted Builds</a> plugin for Jenkins. This user would like Job_B to be triggered when a build from Job_A has been promoted.</p>
  
  <p>In Manage Jenkins > Configure System, there are three "Promotion Levels" defined.</p>
  
  <p>When I navigate to Job_B > Config, check the "Build when another project is promoted", and enter the name of Job_A in the Job Name box. However, the "Promotion" drop-down does not populate with any of the three promotion levels. </p>
  
  <p><a href="https://i.sstatic.net/f3XSN.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/f3XSN.png" alt="Screenshot showing the Build when another project is promoted option"></a></p>
  
  <p>Job_A is a Freestyle job, while Job_A is a Pipeline. I thought this was the source of the issue, but when creating a test FreeStyle job, I still wasn't able to see anything populate the Promotion drop-down. Any idea what I may be missing?</p>
  
Tags: <jenkins>
Title: Unable to Trigger Downstream Jenkins Job Based on the Promoted Builds Plugin
UserDisplayName: Argyle
ThreadText: # Unable to Trigger Downstream Jenkins Job Based on the Promoted Builds Plugin
  
  (Asked by: username_0 on 2020-03-16)
  
  I have a request from a user who is currently using the [Promoted Builds](https://wiki.jenkins.io/pages/viewpage.action?pageId=77889556) plugin for Jenkins. This user would like Job\_B to be triggered when a build from Job\_A has been promoted.
  
  In Manage Jenkins > Configure System, there are three "Promotion Levels" defined.
  
  When I navigate to Job\_B > Config, check the "Build when another project is promoted", and enter the name of Job\_A in the Job Name box. However, the "Promotion" drop-down does not populate with any of the three promotion levels.
  
  [![Screenshot showing the Build when another project is promoted option](https://i.sstatic.net/f3XSN.png)](https://i.sstatic.net/f3XSN.png)
  
  Job\_A is a Freestyle job, while Job\_A is a Pipeline. I thought this was the source of the issue, but when creating a test FreeStyle job, I still wasn't able to see anything populate the Promotion drop-down. Any idea what I may be missing?
  
  **Tags:** jenkins
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-03-20. Score: 1
  
  Job chaining is a CI/CD anti-pattern and one of the big drivers behind developing pipelines. If the next step in the equation is to do more work, just make it a stage in the pipeline. If you need separation for whatever reason, make the freestyle job a pipeline job and add a post->success step.
  
  <https://jenkins.io/doc/book/pipeline/syntax/#post>
  
  
  ---
  
  