From a39a27e82d35681bc9f43d9d06c48618e4f1e0ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emek=20Vysok=C3=BD?= Date: Fri, 26 Jan 2024 13:12:20 +0100 Subject: [PATCH] Make synchronization job names unique (#18407) --- eng/pipelines/templates/jobs/vmr-synchronization.yml | 6 +++++- eng/pipelines/vmr-sync.yml | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/templates/jobs/vmr-synchronization.yml b/eng/pipelines/templates/jobs/vmr-synchronization.yml index 87c4b33a9..9361d019a 100644 --- a/eng/pipelines/templates/jobs/vmr-synchronization.yml +++ b/eng/pipelines/templates/jobs/vmr-synchronization.yml @@ -2,6 +2,10 @@ ### It synchronizes the content of the VMR to this new commit and pushes the changes parameters: +- name: jobName + displayName: Name of the pipeline job + type: string + - name: targetRef displayName: Target revision of dotnet/installer to synchronize type: string @@ -18,7 +22,7 @@ parameters: default: false jobs: -- job: Synchronize_VMR +- job: ${{ parameters.jobName }} displayName: Synchronize dotnet/dotnet timeoutInMinutes: 120 variables: diff --git a/eng/pipelines/vmr-sync.yml b/eng/pipelines/vmr-sync.yml index 35a792c28..096340da6 100644 --- a/eng/pipelines/vmr-sync.yml +++ b/eng/pipelines/vmr-sync.yml @@ -36,8 +36,10 @@ variables: jobs: - template: /eng/pipelines/templates/jobs/vmr-synchronization.yml parameters: + name: Synchronize_VMR vmrBranch: ${{ variables.VmrBranch }} - template: /eng/pipelines/templates/jobs/vmr-synchronization.yml parameters: + name: Synchronize_VMR_uncloacked vmrBranch: ${{ variables.VmrBranch }}-ub