From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description= Building freestyle project in Jenkins |setup= # Ensure that package jenkins is installed and that jenkins is running. |actions= # open http://loc...") |
No edit summary |
||
Line 3: | Line 3: | ||
|setup= | |setup= | ||
# Ensure that package jenkins is installed and that | # Ensure that package jenkins is installed and that server is running. | ||
|actions= | |actions= | ||
# open http://localhost:8080/jenkins in your web browser | # open http://localhost:8080/jenkins in your web browser | ||
Line 11: | Line 11: | ||
# click OK | # click OK | ||
# in "Build" section, choose "Execute Shell" from "Add build step" drop down meno | # in "Build" section, choose "Execute Shell" from "Add build step" drop down meno | ||
# paste 'echo "Build successful!" into the newly created textarea | # paste 'echo "Build successful!"' into the newly created textarea | ||
# click "Save" | # click "Save" | ||
# click "Build Now" | # click "Build Now" |
Revision as of 14:12, 1 September 2014
Description
Building freestyle project in Jenkins
Setup
- Ensure that package jenkins is installed and that server is running.
How to test
- open http://localhost:8080/jenkins in your web browser
- click "New item"
- enter name of the item: "project1"
- choose "Freestyle project" type
- click OK
- in "Build" section, choose "Execute Shell" from "Add build step" drop down meno
- paste 'echo "Build successful!"' into the newly created textarea
- click "Save"
- click "Build Now"
Expected Results
- you should see new entry in "Build history"
- the ball representing status of the last build should be blue
- clicking on the ball should show console output from given build:
Started by user anonymous Building in workspace /var/lib/jenkins/jobs/project1/workspace [workspace] $ /bin/sh -xe /tmp/hudson5548796080979748704.sh + echo 'Build Successful!' Build Successful! Finished: SUCCESS