This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 79
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
Similar Threads
GroovyShell wait?
How do I install a 3rd party module in Groovy?
Groovy newbie questions
JavaFX with Groovy
Groovy Perforamance: A Little Disapointed