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:
6e33f79
)
Add a comment to this example
author
salimfadhley
<sal@stodge.org>
Sat, 15 Jun 2013 23:10:58 +0000
(
00:10
+0100)
committer
salimfadhley
<sal@stodge.org>
Sat, 15 Jun 2013 23:10:58 +0000
(
00:10
+0100)
examples/get_config.py
patch
|
blob
|
history
diff --git
a/examples/get_config.py
b/examples/get_config.py
index 37474df7510097911981d3ad4553b1904133dff4..7a10394b7bd53a6f2b09186d00434f6eb889d752 100644
(file)
--- a/
examples/get_config.py
+++ b/
examples/get_config.py
@@
-1,6
+1,6
@@
-import logging
-logging.basicConfig()
-
+"""
+An example of how to use JenkinsAPI to fetch the config XML of a job.
+"""
from jenkinsapi.jenkins import Jenkins
J = Jenkins('http://localhost:8080')
jobName = 'create_fwrgmkbbzk'