Groovy Postbuild: Run script only on matrix parent

26 views
Skip to first unread message

Sverre Moe

unread,
Mar 10, 2015, 12:26:49 PM3/10/15
to jenkin...@googlegroups.com
Would it possible to have Groovy Postbuild to the script only run on matrix parent? Would be a great feature to get in this plugin.

I have a groovy script I want to run once after all matrix configurations have been triggered and completed.

I need to check the Cause not being an UpstreamCause, but all matrix builds Cause are of class UpstreamCause, while the parent Cause could be Upstream, UserId or SCM.

Created a feature request in Jenkins Jira:
Reply all
Reply to author
Forward
0 new messages