From Fedora Project Wiki

Line 4: Line 4:
 
|setup=
 
|setup=
 
# Ensure that Jenkins is running.
 
# Ensure that Jenkins is running.
 +
# You should complete [https://fedoraproject.org/wiki/Msrb:TestDay/Test_2 freestyle project] test case first.
 
|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"
+
# click on "Download now and install after restart" button
# check "Restart Jenkins when installation is complete and no jobs are running"
+
# 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 should be no failures or stacktraces printed on stdout/stderr/screen
 
# there should be no failures or stacktraces printed on stdout/stderr/screen
# "<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" and "ChuckNorris Plugin"
 
}}
 
}}

Revision as of 04:41, 30 September 2014

Description

Try to install and use Jenkins plugins.

Setup

  1. Ensure that Jenkins is running.
  2. You should complete freestyle project test case first.

How to test

  1. go to http://localhost:8080/pluginManager/available and mark following plugins for installation:
    • Matrix Project Plugin
    • Maven Project Plugin
    • Git Plugin
    • ChuckNorris Plugin
  2. click on "Download now and install after restart" button
  3. while Jenkins is downloading the plugins, check "Restart Jenkins when installation is complete and no jobs are running"
  4. wait until Jenkins is up and running again
  5. 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"
  6. click "Save"
    • you should see a Chuck Norris joke under the "Disable Project" button on the right side of your screen

Expected Results

  1. there should be no failures or stacktraces printed on stdout/stderr/screen
  2. "jenkins-cli -s http://localhost:8080/ list-plugins" should print, among others, also "Matrix Project Plugin", "Maven Project Plugin", "Git Plugin" and "ChuckNorris Plugin"