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:
4142cb6
)
Update to show version usage
author
Sateesh Kumar
<sateeshkumarb@yahoo.com>
Sat, 7 Dec 2013 16:33:40 +0000
(22:03 +0530)
committer
Sateesh Kumar
<sateeshkumarb@yahoo.com>
Sat, 7 Dec 2013 16:33:40 +0000
(22:03 +0530)
README.rst
patch
|
blob
|
history
diff --git
a/README.rst
b/README.rst
index 097af361bcbca4d26c879d2a4a4f9d433ad9ac0f..bfc4a126ccf905943614e4989d95dd2ac0a82bf6 100644
(file)
--- a/
README.rst
+++ b/
README.rst
@@
-89,6
+89,8
@@
JenkinsAPI is intended to map the objects in Jenkins (e.g. Builds, Views, Jobs)
>>> import jenkinsapi
>>> from jenkinsapi.jenkins import Jenkins
>>> J = Jenkins('http://localhost:8080')
+ >>> J.get_version()
+ 1.542
>>> J.keys() # Jenkins objects appear to be dict-like, mapping keys (job-names) to
['foo', 'test_jenkinsapi']
>>> J['test_jenkinsapi']