Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate a warning/error if unshelved changelist contents differed in any steps #98

Open
ca-johnson opened this issue Jul 30, 2019 · 0 comments

Comments

@ca-johnson
Copy link
Contributor

hash = md5()
for digest in changeinfo['digests']:
  md5.add(digest)
if not set_metadata('buildkite:perforce:changedigest', md5.hex()'):
  # Already set, compare against
  if get_metadata(key) != md5.hex():
	buildkite-agent annotate --type error "Shelved files were modified during the build, some steps were ran against different versions of your shelved files. Please run another build to validate your change prior to submission"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant