diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c7d8a7b65..1fa6c37e8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,7 +24,9 @@ variables: - name: 'CommitHash' value: $[replace(variables['Build.SourceVersion'], format('{0}-', variables['Build.SourceBranchName']), '')] - name: 'DockerTag' - value: '$(Major).$(Minor).$(Patch)-$(DockerTagSourceBranch)-$(CommitHash)' + value: | + $(Build.BuildNumber)-$(Build.SourceVersion) + $(Major).$(Minor).$(Patch)-$(DockerTagSourceBranch)-$(CommitHash) jobs: - job: unittests