Skip to content

Commit

Permalink
extended documentation for enable / disable jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
a8 committed Feb 27, 2012
1 parent 0f9120b commit ea9eed5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Sample use:
# build
j.build('my-new-job')

# enable or disable
j.enable('my-new-job')
j.disable('my-new-job')

# check result and delete if successful:
result = j.last_result('my-new-job')['result']
if result == 'SUCCESS':
Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Things you can do with it:

* Create a job (e.g. from a template job)
* Delete a job
* Enable or disable a job
* Obtain the ``config.xml`` file for that job
* Trigger building of a job
* Obtain latest execution results
Expand Down
1 change: 1 addition & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Things you can do with it:

* Create a job (e.g. from a template job)
* Delete a job
* Enable or disable a job
* Obtain the ``config.xml`` file for that job
* Trigger building of a job
* Obtain latest execution results
Expand Down

0 comments on commit ea9eed5

Please sign in to comment.