From Fedora Project Wiki

No edit summary
No edit summary
Line 18: Line 18:
# the ball representing status of the last build should be blue
# the ball representing status of the last build should be blue
# clicking on the ball should show console output from given build:
# clicking on the ball should show console output from given build:
<pre>
Started by user anonymous
Started by user anonymous
Building in workspace /var/lib/jenkins/jobs/project1/workspace
Building in workspace /var/lib/jenkins/jobs/project1/workspace
Line 25: Line 26:
Finished: SUCCESS
Finished: SUCCESS
}}
}}
</pre>

Revision as of 14:13, 1 September 2014

{{QA/Test_Case |description= Building freestyle project in Jenkins

|setup=

  1. Ensure that package jenkins is installed and that server is running.

|actions=

  1. open http://localhost:8080/jenkins in your web browser
  2. click "New item"
  3. enter name of the item: "project1"
  4. choose "Freestyle project" type
  5. click OK
  6. in "Build" section, choose "Execute Shell" from "Add build step" drop down meno
  7. paste 'echo "Build successful!"' into the newly created textarea
  8. click "Save"
  9. click "Build Now"

|results=

  1. you should see new entry in "Build history"
  2. the ball representing status of the last build should be blue
  3. 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
}}