From e7f4ccbc5efccae25b304dcd66913a5deccf75ef Mon Sep 17 00:00:00 2001 From: Ramon van Alteren Date: Fri, 10 Feb 2012 10:00:24 +0100 Subject: [PATCH] Added timestamp method to build mcascallares requested a method to retrieve the timestamp on a build. Added closing issue #4 --- jenkinsapi/build.py | 2 ++ 1 file changed, 2 insertions(+) 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'] -- 2.34.1