File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Groovy and the fly likes Hudson/Jenkins Groovy script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Hudson/Jenkins Groovy script" Watch "Hudson/Jenkins Groovy script" New topic

Hudson/Jenkins Groovy script

James Daniel
Ranch Hand

Joined: Sep 24, 2004
Posts: 80
Is it possible to cancel a running job via a Groovy script if a condition is met? If so, where can I find an example? I would like to have jobs always check to see other jobs are running and if so, abort. I have to do it with Groovy and not a plug-in. Any help would be greatly appreciated.

jQuery in Action, 2nd edition
subject: Hudson/Jenkins Groovy script