From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
|setup= | |setup= | ||
# ensure that Jenkins is up and running | # ensure that Jenkins is up and running | ||
# install Maven: <code>yum install maven</code> | # install Maven and git: <code>yum install -y maven git</code> | ||
# this test case depends on [https://fedoraproject.org/wiki/Msrb:TestDay/Test_5 plugins] test case | |||
|actions= | |actions= | ||
# go to http://localhost:8080/configure and click on "Add Maven" in "Maven" section | # go to http://localhost:8080/configure and click on "Add Maven" in "Maven" section |
Revision as of 05:19, 30 September 2014
Description
Building Maven projects in Jenkins.
Setup
- ensure that Jenkins is up and running
- install Maven and git:
yum install -y maven git
- this test case depends on plugins test case
How to test
- go to http://localhost:8080/configure and click on "Add Maven" in "Maven" section
- specify name of this installation: "system"
- uncheck "Install automatically"
- set "MAVEN_HOME" to "/usr/share/maven/"
- click "Save"
- go to http://localhost:8080/view/All/newJob and create new item
- name: "mavenproject1"
- project type: "Build a maven project"
- click "OK"
- in "Source Code Management" choose "git"
- "Repository URL" is "https://github.com/kohsuke/akuma.git"
- click "Save" and "Build Now"
Expected Results
- there should be no failures or stacktraces printed on the screen
- the build should finish successfully (blue ball in history)