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:
dad1ca0
)
Fixed bug: view.add_job fails when job parameter contains Job object
author
Aleksey Maksimov
<ctpeko3a@gmail.com>
Mon, 10 Jun 2013 08:09:41 +0000
(17:09 +0900)
committer
Aleksey Maksimov
<ctpeko3a@gmail.com>
Mon, 10 Jun 2013 08:09:41 +0000
(17:09 +0900)
jenkinsapi/view.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/view.py
b/jenkinsapi/view.py
index
9e4e45b
..
6a98b08
100644
(file)
--- a/
jenkinsapi/view.py
+++ b/
jenkinsapi/view.py
@@
-77,7
+77,7
@@
class View(JenkinsBase):
log.error('Job "%s" is not known to Jenkins' % str_job_name)
return False
- job = self.jenkins_obj.get_job(str_job_name)
+
job = self.jenkins_obj.get_job(str_job_name)
jobs = self._data.setdefault('jobs', [])
jobs.append({'name': job.name, 'url': job.baseurl})