Skip to content

Commit

Permalink
omit timestamp in shelved change annotation (#87)
Browse files Browse the repository at this point in the history
we dont really care what time this happened, the info is visible in the form of when steps ran anyway
  • Loading branch information
ca-johnson authored Jun 19, 2019
1 parent 22a82fa commit 2d5b851
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/buildkite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down Expand Up @@ -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,
}),
Expand Down

0 comments on commit 2d5b851

Please sign in to comment.