Warn and continue on source map upload failures

pull/2/head
Qstick 5 years ago committed by GitHub
parent 750b819086
commit d21e7b8f1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -269,8 +269,11 @@ stages:
sentry-cli releases -p radarr3-ui files "${RELEASENAME}" upload-sourcemaps _output/UI/ --rewrite
sentry-cli releases set-commits --auto "${RELEASENAME}"
sentry-cli releases deploys "${RELEASENAME}" new -e aphrodite
if [ "$EXIT_CODE" -gt 0 ]; then
echo "##vso[task.logissue type=warning]Error uploading source maps."
fi
exit 0
displayName: Publish Sentry Source Maps
failOnStderr: false
continueOnError: true
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/aphrodite'))
env:

Loading…
Cancel
Save