I cannot find an easy way to ONLY execute a step if it is the Matrix Aggregate. I was hoping "Never" on the section but then "Always" on the (checked) "Condition for Matrix Aggregation" would do it.
I think "Condition for Matrix Aggregation" should have a new "Only" option that only runs at the end on the parent run.
Currently, the workaround is "Execute Shell" and then:
if [ -z "${AXIS}" ]; then echo Master job, running next job; exit 0; fi
echo Not master job, aborting
exit 1
The publisher itself shouldn't matter. I want the publisher to only be invoked by the master/parent of the matrix run.
Aaron D. Marasco
added a comment - The publisher itself shouldn't matter. I want the publisher to only be invoked by the master/parent of the matrix run.
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]
You can describe more details.
What publisher do you use and what is the behavior you expect?