Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
Please comment & let me know if you have a fork / fixes you'd like to include.
Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
Please comment & let me know if you have a fork / fixes you'd like to include.
import hudson.model.* | |
import hudson.maven.* | |
import hudson.tasks.* | |
import hudson.scm.* | |
def match_url = "http://svn.mycorp.com/svn/devops" | |
for(item in Hudson.instance.items) { | |
hasClaim = false; | |
if (item.scm instanceof SubversionSCM) |