It's not a secret anymore!
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
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.

I agree. Here's the link:
subject: Hudson/Jenkins Groovy script
jQuery in Action, 3rd edition