@@ -184,7 +184,7 @@ stages:
184184
185185 - output : pipelineArtifact
186186 displayName : ' Publish localizationArtifacts artifact'
187- condition : " or(eq(variables['OverridePublishLocalizationArtifact'], 'true'), and(succeededOrFailed (), eq(variables['IsOfficialBuild'], 'true')))"
187+ condition : " or(eq(variables['OverridePublishLocalizationArtifact'], 'true'), and(succeeded (), eq(variables['IsOfficialBuild'], 'true')))"
188188 targetPath : " $(Build.Repository.LocalPath)\\ artifacts\\ localizationArtifacts\\ "
189189 artifactName : " localizationArtifacts"
190190 sbomBuildDropPath : $(Build.SourcesDirectory)/artifacts
@@ -330,7 +330,7 @@ stages:
330330 displayName : ' Upload source-build log'
331331 condition : " or(failed(), eq(variables['System.debug'], 'true'))"
332332 targetPath : " artifacts/sb/log/source-build.binlog"
333- artifactName : " Source-build log"
333+ artifactName : " Source-build log - Attempt $(System.JobAttempt) "
334334 sbomEnabled : false
335335 steps :
336336 - template : /eng/pipelines/templates/Source_Build.yml@self
@@ -362,7 +362,7 @@ stages:
362362 displayName : ' Publish Test Freeze Dump'
363363 condition : " or(failed(), canceled())"
364364 targetPath : " $(Build.Repository.LocalPath)/build/TestResults"
365- artifactName : " $(Agent.JobName)"
365+ artifactName : " $(Agent.JobName) - Attempt $(System.JobAttempt) "
366366 sbomEnabled : false
367367
368368 - output : pipelineArtifact
@@ -402,7 +402,7 @@ stages:
402402 displayName : ' Publish Test Freeze Dump'
403403 condition : " or(failed(), canceled())"
404404 targetPath : " $(Build.Repository.LocalPath)/build/TestResults"
405- artifactName : " $(Agent.JobName)"
405+ artifactName : " $(Agent.JobName) - Attempt $(System.JobAttempt) "
406406 sbomEnabled : false
407407
408408 - output : pipelineArtifact
@@ -441,7 +441,7 @@ stages:
441441 displayName : ' Publish Test Freeze Dump'
442442 condition : " or(failed(), canceled())"
443443 targetPath : " $(Build.Repository.LocalPath)/build/TestResults"
444- artifactName : " $(Agent.JobName)"
444+ artifactName : " $(Agent.JobName) - Attempt $(System.JobAttempt) "
445445 sbomEnabled : false
446446
447447 - output : pipelineArtifact
@@ -470,7 +470,7 @@ stages:
470470 displayName : ' Publish Test Freeze Dump'
471471 condition : " or(failed(), canceled())"
472472 targetPath : " $(Build.Repository.LocalPath)/build/TestResults"
473- artifactName : " $(Agent.JobName)"
473+ artifactName : " $(Agent.JobName) - Attempt $(System.JobAttempt) "
474474 sbomEnabled : false
475475
476476 - output : pipelineArtifact
@@ -507,7 +507,7 @@ stages:
507507 displayName : ' Publish Test Freeze Dump'
508508 condition : " or(failed(), canceled())"
509509 targetPath : " $(Build.Repository.LocalPath)/build/TestResults"
510- artifactName : " $(Agent.JobName)"
510+ artifactName : " $(Agent.JobName) - Attempt $(System.JobAttempt) "
511511 sbomEnabled : false
512512
513513 - output : pipelineArtifact
0 commit comments