mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
Bug 1702257: Prepend Sentry releases with "hg-rev-" r=sheehan
The Sentry CI task versioning scheme should match the generated Sentry issues. Differential Revision: https://phabricator.services.mozilla.com/D110422
This commit is contained in:
parent
2f20de2945
commit
2f478c641c
@ -7,7 +7,7 @@ run() {
|
||||
revisions=$(curl "$HG_PUSHLOG_URL" | jq -c -r ".pushes[].changesets | @sh" | tr -d \') || return 1
|
||||
sentry_api_key=$(curl "http://taskcluster/secrets/v1/secret/$SENTRY_SECRET" | jq -r ".secret.sentryToken") || return 1
|
||||
for revision in $revisions; do
|
||||
SENTRY_API_KEY=$sentry_api_key SENTRY_ORG=operations sentry-cli --url https://sentry.prod.mozaws.net/ releases --project mach new "$revision" || return 1
|
||||
SENTRY_API_KEY=$sentry_api_key SENTRY_ORG=operations sentry-cli --url https://sentry.prod.mozaws.net/ releases --project mach new "hg-rev-$revision" || return 1
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user