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:
8e6753c
)
polling jenkins each time Jobs is initialized
author
jpiron
<jpiron@pagesjaunes.fr>
Thu, 13 Mar 2014 17:11:00 +0000
(18:11 +0100)
committer
jpiron
<jpiron@pagesjaunes.fr>
Thu, 13 Mar 2014 17:11:00 +0000
(18:11 +0100)
jenkinsapi/jobs.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/jobs.py
b/jenkinsapi/jobs.py
index
c7fcd9a
..
1e560d0
100644
(file)
--- a/
jenkinsapi/jobs.py
+++ b/
jenkinsapi/jobs.py
@@
-18,6
+18,7
@@
class Jobs(object):
"""
def __init__(self, jenkins):
self.jenkins = jenkins
+ self.jenkins.poll()
def __len__(self):
return len(self.keys)