|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

For anyone that may need the same feature. Our current work-around is a rather messy groovy script added to Upstream:
import hudson.model.* Jenkins = Hudson.instance def q = Jenkins.instance.queue;But the script is not 100% stable. It happens to fail (hangs or generates a java.lang.NegativeArraySizeException).
The script is started like this:
java -jar jenkins-cli.jar -s http://jenkins:8080/ groovy ./CancelDownstreamQueue.groovy $JOB_NAME SearchStringForJobsToCancel