From a4f5ecb0eb00c0033ac9a27811bd9dc6f3dc8f11 Mon Sep 17 00:00:00 2001 From: MilenaHristova Date: Fri, 3 Mar 2023 14:28:30 +0100 Subject: [PATCH] fail message --- eng/pipelines/source-build-sdk-diff-tests.yml | 4 ++-- eng/pipelines/templates/jobs/sdk-diff-tests.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/eng/pipelines/source-build-sdk-diff-tests.yml b/eng/pipelines/source-build-sdk-diff-tests.yml index 33fbb78a5..efa6991a1 100644 --- a/eng/pipelines/source-build-sdk-diff-tests.yml +++ b/eng/pipelines/source-build-sdk-diff-tests.yml @@ -1,6 +1,6 @@ schedules: - cron: "0 7 * * 1-5" - displayName: Daily midnight run + displayName: Run on weekdays at 7am UTC branches: include: - main @@ -15,7 +15,7 @@ pool: parameters: - name: dotnetDotnetRunId - displayName: 'Specific dotnet-dotnet run ID' + displayName: 'Specific dotnet-dotnet run ID number (e.g `2108850`)' type: string default: ' ' diff --git a/eng/pipelines/templates/jobs/sdk-diff-tests.yml b/eng/pipelines/templates/jobs/sdk-diff-tests.yml index 83ed5873e..6aea584f8 100644 --- a/eng/pipelines/templates/jobs/sdk-diff-tests.yml +++ b/eng/pipelines/templates/jobs/sdk-diff-tests.yml @@ -44,7 +44,7 @@ jobs: echo "Installer build: https://dev.azure.com/dnceng/internal/_build/results?buildId=$installer_build&view=results" echo "##vso[task.setvariable variable=InstallerBuildId]$installer_build" - echo "##vso[task.setvariable variable=VmrBuildId]$dotnet_dotnet_build" + echo "##vso[task.setvariable variable=DotnetDotnetBuildId]$dotnet_dotnet_build" displayName: Find associated builds name: Get_Build_Ids env: @@ -72,7 +72,7 @@ jobs: buildVersionToDownload: specific project: internal pipeline: $(DOTNET_DOTNET_CI_PIPELINE_ID) - buildId: $(VmrBuildId) + buildId: $(DotnetDotnetBuildId) artifact: ${{ parameters.buildName }}_${{ parameters.architecture }}_Artifacts patterns: '**/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*)-${{ parameters.targetRid }}.tar.gz' allowPartiallySucceededBuilds: true @@ -86,14 +86,14 @@ jobs: msft_sdk_tarball_name=$(find "$(Pipeline.Workspace)/Artifacts" -name "dotnet-sdk-*-linux-${{ parameters.architecture }}.tar.gz" -exec basename {} \;) if [[ -z $msft_sdk_tarball_name ]]; then - fail "Microsoft SDK tarball does not exist in '$(Pipeline.Workspace)/Artifacts'" + fail "Microsoft SDK tarball does not exist in '$(Pipeline.Workspace)/Artifacts'. The associated build 'https://dev.azure.com/dnceng/internal/_build/results?buildId=$installer_build&view=results' might have failed." exit 1 fi sdk_tarball_name=$(find "$(Pipeline.Workspace)/Artifacts" -name "dotnet-sdk-*-${{ parameters.targetRid }}.tar.gz" -exec basename {} \;) if [[ -z $sdk_tarball_name ]]; then - fail "Source-build SDK tarball does not exist in '$(Pipeline.Workspace)/Artifacts'" + fail "Source-build SDK tarball does not exist in '$(Pipeline.Workspace)/Artifacts'. The associated build 'https://dev.azure.com/dnceng/internal/_build/results?buildId=$dotnet_dotnet_build&view=results' might have failed" exit 1 fi