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:
e0dfa40
)
Added timestamp method to build
author
Ramon van Alteren
<ramon@vanalteren.nl>
Fri, 10 Feb 2012 09:00:24 +0000
(10:00 +0100)
committer
Ramon van Alteren
<ramon@vanalteren.nl>
Fri, 10 Feb 2012 09:00:24 +0000
(10:00 +0100)
mcascallares requested a method to retrieve the timestamp on a build.
Added closing issue #4
jenkinsapi/build.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/build.py
b/jenkinsapi/build.py
index 887ec7c437f5c8f8092668d718c92b7c15555571..844046a62bd460b666bb3ebb464e1ac553176e59 100644
(file)
--- a/
jenkinsapi/build.py
+++ b/
jenkinsapi/build.py
@@
-110,3
+110,5
@@
class Build(JenkinsBase):
all_actions.update( dct_action )
return all_actions
+ def get_timestamp(self):
+ return self._data['timestamp']