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:
0216c0d
)
Made invocation.get_job_number to poll job
author
Aleksey Maksimov
<ctpeko3a@gmail.com>
Wed, 20 Nov 2013 02:36:16 +0000
(10:36 +0800)
committer
Aleksey Maksimov
<ctpeko3a@gmail.com>
Wed, 20 Nov 2013 02:36:16 +0000
(10:36 +0800)
jenkinsapi/invocation.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/invocation.py
b/jenkinsapi/invocation.py
index cfcf9926352fc71752f4c0cd9936bbf10ca27c36..e726374d84ff1f229169f19e12b6ad053cba0da7 100644
(file)
--- a/
jenkinsapi/invocation.py
+++ b/
jenkinsapi/invocation.py
@@
-50,6
+50,7
@@
class Invocation(object):
"""
If this job is building or complete then provide it's build-number
"""
+ self.job.poll()
self.build_number = self.job.get_last_buildnumber()
return self.build_number