projects
/
tools
/
python-jenkinsapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d17724
)
Added job removal example
author
lechat
<ctpeko3a-github@gmail.com>
Tue, 9 Jul 2013 17:12:00 +0000
(
01:12
+0800)
committer
lechat
<ctpeko3a-github@gmail.com>
Tue, 9 Jul 2013 17:12:00 +0000
(
01:12
+0800)
examples/how_to/create_a_job.py
patch
|
blob
|
history
diff --git
a/examples/how_to/create_a_job.py
b/examples/how_to/create_a_job.py
index
485f778
..
7758b24
100644
(file)
--- a/
examples/how_to/create_a_job.py
+++ b/
examples/how_to/create_a_job.py
@@
-13,3
+13,6
@@
j = J.create_job(jobname=jobName, config=xml)
j2= J[jobName]
print j
+
+# Delete job
+J.delete_job(jobName)