问题
I setup Jenkins for a CI server and everything seems to be working great. So I thought I would install the Chuck Norris Plugin for some humor. I installed the plugin using the plugin manager but I don't see the option to activate it.
Has anyone done this is there a dependency I need to install to get this to work?
回答1:
You can activate it on the job configuration page. Select "Add post-build action" -> "Activate Chuck Norris".
回答2:
Just run next script in jenkins script concole (http://your_server/jenkins/script
or Manage Jenkins > Script Console):
import jenkins.model.*
for(item in Jenkins.instance.items) {
println("job $item.name")
item.publishersList.replace(new hudson.plugins.chucknorris.CordellWalkerRecorder());
}
回答3:
I just had to activate the plugin after I installed it. Most plugins I have used automatically activate. I'm not sure why this one didn't. But that was the fix.
来源:https://stackoverflow.com/questions/17571637/jenkins-chuck-norris-plugin