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:
ff89e78
)
fix for include jobs
author
William Zhang
<jollychang@gmail.com>
Wed, 30 May 2012 09:58:19 +0000
(17:58 +0800)
committer
William Zhang
<jollychang@gmail.com>
Wed, 30 May 2012 09:58:19 +0000
(17:58 +0800)
jenkinsapi/view.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/view.py
b/jenkinsapi/view.py
index
eb62ced
..
86b7632
100644
(file)
--- a/
jenkinsapi/view.py
+++ b/
jenkinsapi/view.py
@@
-77,10
+77,12
@@
class View(JenkinsBase):
"Submit":"OK",
}
data["name"] = self.name
+ for job in self.get_job_dict().keys():
+ data[job]='on'
data[str_job_name] = "on"
data['json'] = data.copy()
self.post_data('%sconfigSubmit' % self.baseurl, urllib.urlencode(data))
- return "Job %s is add in View %s
" % (str_job_name, self.name
)
+ return "Job %s is add in View %s
successful" % (str_job_name, self.baseurl
)
def id(self):
"""