Jenkins : Activate Chuck Norris Plugin

This script activates Chuck Norris plugin for all jobs in your Jenkins server


import jenkins.model.*


for(item in Jenkins.instance.items) {
     println("job $item.name")
     item.publishersList.replace(new  hudson.plugins.chucknorris.CordellWalkerRecorder());
}