This commit is contained in:
MilenaHristova 2023-03-03 12:17:00 +01:00
parent 522c032c92
commit 65f50bbad2
2 changed files with 8 additions and 8 deletions

View file

@ -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 }}

View file

@ -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)