Post-build downstream job not shown in delivery pipeline view

51 views
Skip to first unread message

Rory

unread,
Oct 26, 2016, 9:10:46 AM10/26/16
to Delivery Pipeline Plugin
Hi,

I have been experimenting with the Delivery Pipeline view to see how downstream jobs are displayed. There seems to be a limitation that post-build actions configured as shown below are not included in the view. My example job uses a Boolean parameter to control whether the post-build downstream job is triggered. The Build Pipeline view doesn't display it either. Jenkins ver. 1.625.16.1

The view is of limited value if this downstream job isn't included. 

Is it a limitation of the plugin, or have I missed some configuration?

Thanks,
Rory


Bill Matzen

unread,
Oct 28, 2016, 2:57:26 PM10/28/16
to Delivery Pipeline Plugin
This seems related to the issue I'm having and posted about ("Dynamic triggered subprojects not showing in the graph"). I did some more investigation today creating a variety of test jobs and believe it has to do with using a variable for the downstream job. Although you have it cleared out from your image, am I correct that you are using $POST_JOB for that field as well?  

Bill

Rory

unread,
Nov 15, 2016, 7:26:15 AM11/15/16
to Delivery Pipeline Plugin
Thanks Bill. The path to the downstream job is hard-coded. The $POST_JOB variable is just used to control whether the job is called.

Rory

Rory

unread,
Nov 15, 2016, 11:20:37 AM11/15/16
to Delivery Pipeline Plugin
It looks like the problem is that the post-job is being called from within an "Execute a set of scripts" block. If the post-job is called from "Build other projects" in Post-build Actions then it's displayed correctly in the view. Unfortunately "Execute a set of scripts" with a conditional step seems to be the only way control execution of a downstream job conditionally.

Rory
Reply all
Reply to author
Forward
0 new messages