From: Ramon van Alteren Date: Fri, 10 Feb 2012 09:00:24 +0000 (+0100) Subject: Added timestamp method to build X-Git-Tag: v0.2.23~308^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7f4ccbc5efccae25b304dcd66913a5deccf75ef;p=tools%2Fpython-jenkinsapi.git Added timestamp method to build mcascallares requested a method to retrieve the timestamp on a build. Added closing issue #4 --- diff --git a/jenkinsapi/build.py b/jenkinsapi/build.py index 887ec7c..844046a 100644 --- 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']