From Fedora Project Wiki
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|setup= | |setup= | ||
# | # ensure that Jenkins is running | ||
# this test case depends on [https://fedoraproject.org/wiki/Msrb:TestDay/Test_2 freestyle project] test case | |||
|actions= | |actions= | ||
# go to http://localhost:8080/pluginManager/available and mark following plugins for installation: | # go to http://localhost:8080/pluginManager/available and mark following plugins for installation: | ||
Line 10: | Line 11: | ||
#* Git Plugin | #* Git Plugin | ||
#* ChuckNorris Plugin | #* ChuckNorris Plugin | ||
# click on "Download now and install after restart" | #* SSH Slaves plugin | ||
# check "Restart Jenkins when installation is complete and no jobs are running" | #** note we will not really need "Matrix Project Plugin", but it's a dependency of some other plugins and it should be installed by default (see [https://bugzilla.redhat.com/show_bug.cgi?id=1147838 rhbz#1147838]) | ||
# click on "Download now and install after restart" button | |||
# while Jenkins is downloading the plugins, check "Restart Jenkins when installation is complete and no jobs are running" | |||
# wait until Jenkins is up and running again | # wait until Jenkins is up and running again | ||
# go to http://localhost:8080/job/project1/configure and from "Add post-build action" drop-down menu choose "Activate Chuck Norris" | # go to http://localhost:8080/job/project1/configure and from "Add post-build action" drop-down menu choose "Activate Chuck Norris" | ||
#* note you may need to adjust the URL, if the name of your existing project is not "project1" | #* note you may need to adjust the URL, if the name of your existing project is not "project1" | ||
# click "Save" | # click "Save" | ||
#* you should see a Chuck Norris joke under the "Disable Project" button | #* you should see a Chuck Norris joke under the "Disable Project" button on the right side of your screen | ||
|results= | |results= | ||
# there | # there shouldn't be any stacktraces or error messages printed on a screen, everything should work as described | ||
# "<code>jenkins-cli -s http://localhost:8080/ list-plugins</code>" should print, among others, also "Maven Project Plugin", "Git Plugin" and "ChuckNorris Plugin" | # "<code>jenkins-cli -s http://localhost:8080/ list-plugins</code>" should print, among others, also "Matrix Project Plugin", "Maven Project Plugin", "Git Plugin", "SSH Slaves plugin" and "ChuckNorris Plugin" | ||
}} | }} |
Latest revision as of 08:19, 30 September 2014
Description
Try to install and use Jenkins plugins.
Setup
- ensure that Jenkins is running
- this test case depends on freestyle project test case
How to test
- go to http://localhost:8080/pluginManager/available and mark following plugins for installation:
- Matrix Project Plugin
- Maven Project Plugin
- Git Plugin
- ChuckNorris Plugin
- SSH Slaves plugin
- note we will not really need "Matrix Project Plugin", but it's a dependency of some other plugins and it should be installed by default (see rhbz#1147838)
- click on "Download now and install after restart" button
- while Jenkins is downloading the plugins, check "Restart Jenkins when installation is complete and no jobs are running"
- wait until Jenkins is up and running again
- go to http://localhost:8080/job/project1/configure and from "Add post-build action" drop-down menu choose "Activate Chuck Norris"
- note you may need to adjust the URL, if the name of your existing project is not "project1"
- click "Save"
- you should see a Chuck Norris joke under the "Disable Project" button on the right side of your screen
Expected Results
- there shouldn't be any stacktraces or error messages printed on a screen, everything should work as described
- "
jenkins-cli -s http://localhost:8080/ list-plugins
" should print, among others, also "Matrix Project Plugin", "Maven Project Plugin", "Git Plugin", "SSH Slaves plugin" and "ChuckNorris Plugin"