diff --git a/eng/pipelines/source-build-sdk-diff-tests.yml b/eng/pipelines/source-build-sdk-diff-tests.yml index 8e492a646..dd30cab1e 100644 --- a/eng/pipelines/source-build-sdk-diff-tests.yml +++ b/eng/pipelines/source-build-sdk-diff-tests.yml @@ -14,7 +14,7 @@ pool: demands: ImageOverride -equals 1es-ubuntu-2004 parameters: -- name: dotnetDotnetBuild +- name: dotnetDotnetRunId displayName: 'Specific dotnet-dotnet run ID' type: string default: ' ' @@ -25,32 +25,32 @@ jobs: buildName: CentOSStream8_Offline targetRid: centos.8-x64 architecture: x64 - dotnetDotnetBuild: ${{ parameters.dotnetDotnetBuild }} + dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }} - template: templates/jobs/sdk-diff-tests.yml parameters: buildName: CentOSStream9_Offline targetRid: centos.9-x64 architecture: x64 - dotnetDotnetBuild: ${{ parameters.dotnetDotnetBuild }} + dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }} - template: templates/jobs/sdk-diff-tests.yml parameters: buildName: Fedora36_Offline targetRid: fedora.36-x64 architecture: x64 - dotnetDotnetBuild: ${{ parameters.dotnetDotnetBuild }} + dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }} - template: templates/jobs/sdk-diff-tests.yml parameters: buildName: Ubuntu2004_Offline targetRid: ubuntu.2004-x64 architecture: x64 - dotnetDotnetBuild: ${{ parameters.dotnetDotnetBuild }} + dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }} - template: templates/jobs/sdk-diff-tests.yml parameters: buildName: Debian11_Offline targetRid: debian.11-arm64 architecture: arm64 - dotnetDotnetBuild: ${{ parameters.dotnetDotnetBuild }} + dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }} diff --git a/eng/pipelines/templates/jobs/sdk-diff-tests.yml b/eng/pipelines/templates/jobs/sdk-diff-tests.yml index 313e47946..57cd3e5cb 100644 --- a/eng/pipelines/templates/jobs/sdk-diff-tests.yml +++ b/eng/pipelines/templates/jobs/sdk-diff-tests.yml @@ -8,7 +8,7 @@ parameters: - name: architecture type: string -- name: dotnetDotnetBuild +- name: dotnetDotnetRunId type: string jobs: @@ -21,7 +21,7 @@ jobs: - template: ../variables/pipelines.yml steps: - script: | - vmr_build='${{ replace(parameters.dotnetDotnetBuild, ' ', '') }}' + vmr_build='${{ replace(parameters.dotnetDotnetRunId, ' ', '') }}' if [[ -z "$vmr_build" ]]; then vmr_build=$(az pipelines runs list --organization '$(AZDO_ORG)' --project '$(AZDO_PROJECT)' --pipeline-ids '$(DOTNET_DOTNET_CI_PIPELINE_ID)' --status completed --top 1 --query "[].id" --output tsv)