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:
319b00f
)
Added get_description function for jobs
author
Anton Balashov
<sicness@darklogic.ru>
Fri, 24 May 2013 14:29:33 +0000
(18:29 +0400)
committer
Anton Balashov
<sicness@darklogic.ru>
Fri, 24 May 2013 14:29:33 +0000
(18:29 +0400)
Obvious function for getting description of job wasn't exist.
jenkinsapi/job.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/job.py
b/jenkinsapi/job.py
index
103a2bc
..
0c9c07a
100644
(file)
--- a/
jenkinsapi/job.py
+++ b/
jenkinsapi/job.py
@@
-50,6
+50,9
@@
class Job(JenkinsBase):
def __str__(self):
return self._data["name"]
+ def get_description(self):
+ return self._data["description"]
+
def get_jenkins_obj(self):
return self.jenkins