[devops] Add the job attempt to the api diff container name. (#16353)

This way the api diff job can be re-run and not fail because the artifact
already exists:

> ##[error]Artifact 'DropMetadata-ChangeDetection' already exists. If the build is producing multiple Drops, the Drop Metadata Container Name should be unique for each Drop.
This commit is contained in:
Rolf Bjarne Kvinge 2022-10-17 17:55:34 +02:00 коммит произвёл GitHub
Родитель acdb35186c
Коммит 8f57b7f9be
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -48,7 +48,7 @@ steps:
continueOnError: true # don't let any failures here stop us continueOnError: true # don't let any failures here stop us
inputs: inputs:
dropServiceURI: 'https://devdiv.artifacts.visualstudio.com/DefaultCollection' dropServiceURI: 'https://devdiv.artifacts.visualstudio.com/DefaultCollection'
dropMetadataContainerName: 'DropMetadata-ChangeDetection' dropMetadataContainerName: 'DropMetadata-ChangeDetection-$(System.JobAttempt)'
buildNumber: 'xamarin-macios/detected-changes/$(Build.BuildNumber)/$(Build.BuildId)-$(System.JobAttempt)' buildNumber: 'xamarin-macios/detected-changes/$(Build.BuildNumber)/$(Build.BuildId)-$(System.JobAttempt)'
sourcePath: '$(System.DefaultWorkingDirectory)/change-detection/results/' sourcePath: '$(System.DefaultWorkingDirectory)/change-detection/results/'
detailedLog: true detailedLog: true