From d21e7b8f1a3c08108724e6a1ce63f5d7c62d5596 Mon Sep 17 00:00:00 2001 From: Qstick Date: Wed, 22 Apr 2020 14:02:16 -0400 Subject: [PATCH] Warn and continue on source map upload failures --- azure-pipelines.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 38f3c7b59..ad01d5ef0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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: