1

Jenkins: 2.89.4.x (or rolling)

Build Pipeline Plugin version: 1.5.8

High level info:

I have JobA (parent), which calls JobB (twice in Build Step - either sequential or parallel) and calls the same JobB (twice in Post-Build Action). JobB is simple. It has just one parameter 'what' and each time Job A calls JobB, I'm passing a different parameter 'what' value.

A ->B -> (->B,->B in parallel)
  ->B
  • Therefore, there are 4 times call to JobB per one pipeline run of JobA. i.e.

NOTE: This value of 'what' parameter printed in JobB's console output and using Set Build Description(plugin) for all 4 calls - WORKS!

ISSUES 2 of them:

  1. Build Pipeline View is showing the LAST BUILD# of JobB in the GUI/Visual page.

  2. Build-Step calls JobB twice and it's showing up in Build Pipeline View two times (as expected) but Post-Build Step which calls JobB twice, is NOT showing in the GUI page.


Job Config / Run Info:

JobA's configuration is: enter image description here

JobB's configuration is: enter image description here

JobA's console output is: enter image description here

Pipeline view showing JobA and JobB (GUI) is: enter image description here

JobB's job history is: enter image description here

Community
  • 1
  • 1
AKS
  • 16,482
  • 43
  • 166
  • 258
  • I used ${BUILD_STATUS} in the `Customize Task Description Template` for the `Delivery Pipeline configuration` of the child jobs. If the second build succeeds and the first doesn't, then it shows up as `Fixed` instead of `Successful`. This only works with projects with a child with two builds. – Re Captcha Oct 24 '18 at 13:03

0 Answers0