From 2d5b851757e2f2a56686fe3dd9681ae7236fb75e Mon Sep 17 00:00:00 2001 From: Carl Johnson Date: Wed, 19 Jun 2019 15:44:02 +0100 Subject: [PATCH] omit timestamp in shelved change annotation (#87) we dont really care what time this happened, the info is visible in the form of when steps ran anyway --- python/buildkite.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/buildkite.py b/python/buildkite.py index a346bd3..b07414b 100644 --- a/python/buildkite.py +++ b/python/buildkite.py @@ -12,7 +12,7 @@ __REVISION_METADATA__ = 'buildkite:perforce:revision' __REVISION_ANNOTATION__ = "Revision: %s" __SHELVED_METADATA__ = 'buildkite:perforce:shelved' -__SHELVED_ANNOTATION__ = "[{timestamp}] Saved shelved change {original} as {copy}" +__SHELVED_ANNOTATION__ = "Saved shelved change {original} as {copy}" def get_env(): """Get env vars passed in via plugin config""" @@ -77,7 +77,6 @@ def set_build_changelist(changelist): subprocess.call([ 'buildkite-agent', 'annotate', __SHELVED_ANNOTATION__.format(**{ - 'timestamp': datetime.now().strftime("%m/%d/%Y %H:%M:%S"), 'original': get_users_changelist(), 'copy': changelist, }),