- Ensure that Jenkins is running.
How to test
- go to http://localhost:8080/pluginManager/available and mark following plugins for installation:
- Maven Project Plugin
- ChuckNorris Plugin
- click on "Download now and install after restart"
- click on "Restart Jenkins when installation is complete and no jobs are running"
- wait until Jenkins is running again
- go to http://localhost:8080/job/project1/configure and from "Add post-build action" drop-down menu choose "Activate Chuck Norris"
- click "Save"
- you should see a Chuck Norris joke under the "Disable Project" button
- there should be no failures or stacktraces printed on stdout/stderr/screen
- "jenkins-cli -s http://localhost:8080/ list-plugins" should print, among others, also "Maven Project Plugin" and "ChuckNorris Plugin"