@@ -188,7 +188,7 @@ stages:
188188
189189 - output : pipelineArtifact
190190 displayName : ' Publish localizationArtifacts artifact'
191- condition : " or(eq(variables['OverridePublishLocalizationArtifact'], 'true'), and(succeededOrFailed (), eq(variables['IsOfficialBuild'], 'true')))"
191+ condition : " or(eq(variables['OverridePublishLocalizationArtifact'], 'true'), and(succeeded (), eq(variables['IsOfficialBuild'], 'true')))"
192192 targetPath : " $(Build.Repository.LocalPath)\\ artifacts\\ localizationArtifacts\\ "
193193 artifactName : " localizationArtifacts"
194194 sbomBuildDropPath : $(Build.SourcesDirectory)/artifacts
@@ -336,7 +336,7 @@ stages:
336336 displayName : ' Upload source-build log'
337337 condition : " or(failed(), eq(variables['System.debug'], 'true'))"
338338 targetPath : " artifacts/sb/log/source-inner-build.binlog"
339- artifactName : " Source-build log"
339+ artifactName : " Source-build log - Attempt $(System.JobAttempt) "
340340 sbomEnabled : false
341341 steps :
342342 - template : /eng/pipelines/templates/Source_Build.yml@self
@@ -368,7 +368,7 @@ stages:
368368 displayName : ' Publish Test Freeze Dump'
369369 condition : " or(failed(), canceled())"
370370 targetPath : " $(Build.Repository.LocalPath)/build/TestResults"
371- artifactName : " $(Agent.JobName)"
371+ artifactName : " $(Agent.JobName) - Attempt $(System.JobAttempt) "
372372 sbomEnabled : false
373373
374374 - output : pipelineArtifact
@@ -408,7 +408,7 @@ stages:
408408 displayName : ' Publish Test Freeze Dump'
409409 condition : " or(failed(), canceled())"
410410 targetPath : " $(Build.Repository.LocalPath)/build/TestResults"
411- artifactName : " $(Agent.JobName)"
411+ artifactName : " $(Agent.JobName) - Attempt $(System.JobAttempt) "
412412 sbomEnabled : false
413413
414414 - output : pipelineArtifact
@@ -447,7 +447,7 @@ stages:
447447 displayName : ' Publish Test Freeze Dump'
448448 condition : " or(failed(), canceled())"
449449 targetPath : " $(Build.Repository.LocalPath)/build/TestResults"
450- artifactName : " $(Agent.JobName)"
450+ artifactName : " $(Agent.JobName) - Attempt $(System.JobAttempt) "
451451 sbomEnabled : false
452452
453453 - output : pipelineArtifact
@@ -476,7 +476,7 @@ stages:
476476 displayName : ' Publish Test Freeze Dump'
477477 condition : " or(failed(), canceled())"
478478 targetPath : " $(Build.Repository.LocalPath)/build/TestResults"
479- artifactName : " $(Agent.JobName)"
479+ artifactName : " $(Agent.JobName) - Attempt $(System.JobAttempt) "
480480 sbomEnabled : false
481481
482482 - output : pipelineArtifact
@@ -513,7 +513,7 @@ stages:
513513 displayName : ' Publish Test Freeze Dump'
514514 condition : " or(failed(), canceled())"
515515 targetPath : " $(Build.Repository.LocalPath)/build/TestResults"
516- artifactName : " $(Agent.JobName)"
516+ artifactName : " $(Agent.JobName) - Attempt $(System.JobAttempt) "
517517 sbomEnabled : false
518518
519519 - output : pipelineArtifact
0 commit comments