Skip to content

Commit f8ab344

Browse files
Updated ci.yml - name artifacts with attempt number where publish on error is true (logs, test results)
1 parent 288e111 commit f8ab344

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.azure/pipelines/ci.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ extends:
166166
- powershell: ./eng/scripts/CodeCheck.ps1 -ci $(_InternalRuntimeDownloadArgs)
167167
displayName: Run eng/scripts/CodeCheck.ps1
168168
artifacts:
169-
- name: Code_Check_Logs
169+
- name: Code_Check_Logs_Attempt_$(System.JobAttempt)
170170
path: artifacts/log/
171171
publishOnError: true
172172
includeForks: true
@@ -292,7 +292,7 @@ extends:
292292
displayName: Build ARM64 Installers
293293

294294
artifacts:
295-
- name: Windows_Logs
295+
- name: Windows_Logs_Attempt_$(System.JobAttempt)
296296
path: artifacts/log/
297297
publishOnError: true
298298
includeForks: true
@@ -324,7 +324,7 @@ extends:
324324
$(_PublishArgs)
325325
$(_InternalRuntimeDownloadArgs)
326326
artifacts:
327-
- name: MacOS_arm64_Logs
327+
- name: MacOS_arm64_Logs_Attempt_$(System.JobAttempt)
328328
path: artifacts/log/
329329
publishOnError: true
330330
includeForks: true
@@ -354,7 +354,7 @@ extends:
354354
$(_PublishArgs)
355355
$(_InternalRuntimeDownloadArgs)
356356
artifacts:
357-
- name: MacOS_x64_Logs
357+
- name: MacOS_x64_Logs_Attempt_$(System.JobAttempt)
358358
path: artifacts/log/
359359
publishOnError: true
360360
includeForks: true
@@ -416,7 +416,7 @@ extends:
416416
displayName: Build RPM installers
417417
target: rpmpkg
418418
artifacts:
419-
- name: Linux_x64_Logs
419+
- name: Linux_x64_Logs_Attempt_$(System.JobAttempt)
420420
path: artifacts/log/
421421
publishOnError: true
422422
includeForks: true
@@ -446,7 +446,7 @@ extends:
446446
$(_PublishArgs)
447447
$(_InternalRuntimeDownloadArgs)
448448
artifacts:
449-
- name: Linux_arm_Logs
449+
- name: Linux_arm_Logs_Attempt_$(System.JobAttempt)
450450
path: artifacts/log/
451451
publishOnError: true
452452
includeForks: true
@@ -493,7 +493,7 @@ extends:
493493
displayName: Build RPM installers
494494
target: rpmpkg
495495
artifacts:
496-
- name: Linux_arm64_Logs
496+
- name: Linux_arm64_Logs_Attempt_$(System.JobAttempt)
497497
path: artifacts/log/
498498
publishOnError: true
499499
includeForks: true
@@ -527,7 +527,7 @@ extends:
527527
installNodeJs: false
528528
disableComponentGovernance: true
529529
artifacts:
530-
- name: Linux_musl_x64_Logs
530+
- name: Linux_musl_x64_Logs_Attempt_$(System.JobAttempt)
531531
path: artifacts/log/
532532
publishOnError: true
533533
includeForks: true
@@ -560,7 +560,7 @@ extends:
560560
$(_PublishArgs)
561561
$(_InternalRuntimeDownloadArgs)
562562
artifacts:
563-
- name: Linux_musl_arm_Logs
563+
- name: Linux_musl_arm_Logs_Attempt_$(System.JobAttempt)
564564
path: artifacts/log/
565565
publishOnError: true
566566
includeForks: true
@@ -593,7 +593,7 @@ extends:
593593
$(_PublishArgs)
594594
$(_InternalRuntimeDownloadArgs)
595595
artifacts:
596-
- name: Linux_musl_arm64_Logs
596+
- name: Linux_musl_arm64_Logs_Attempt_$(System.JobAttempt)
597597
path: artifacts/log/
598598
publishOnError: true
599599
includeForks: true
@@ -622,11 +622,11 @@ extends:
622622
- powershell: "& ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
623623
displayName: Setup IISExpress test certificates and schema
624624
artifacts:
625-
- name: Windows_Test_Logs
625+
- name: Windows_Test_Logs_Attempt_$(System.JobAttempt)
626626
path: artifacts/log/
627627
publishOnError: true
628628
includeForks: true
629-
- name: Windows_Test_Results
629+
- name: Windows_Test_Results_Attempt_$(System.JobAttempt)
630630
path: artifacts/TestResults/
631631
publishOnError: true
632632
includeForks: true
@@ -643,11 +643,11 @@ extends:
643643
- bash: "./eng/scripts/install-nginx-mac.sh"
644644
displayName: Installing Nginx
645645
artifacts:
646-
- name: MacOS_Test_Logs
646+
- name: MacOS_Test_Logs_Attempt_$(System.JobAttempt)
647647
path: artifacts/log/
648648
publishOnError: true
649649
includeForks: true
650-
- name: MacOS_Test_Results
650+
- name: MacOS_Test_Results_Attempt_$(System.JobAttempt)
651651
path: artifacts/TestResults/
652652
publishOnError: true
653653
includeForks: true
@@ -666,11 +666,11 @@ extends:
666666
- bash: "echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p"
667667
displayName: Increase inotify limit
668668
artifacts:
669-
- name: Linux_Test_Logs
669+
- name: Linux_Test_Logs_Attempt_$(System.JobAttempt)
670670
path: artifacts/log/
671671
publishOnError: true
672672
includeForks: true
673-
- name: Linux_Test_Results
673+
- name: Linux_Test_Results_Attempt_$(System.JobAttempt)
674674
path: artifacts/TestResults/
675675
publishOnError: true
676676
includeForks: true
@@ -697,7 +697,7 @@ extends:
697697
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
698698

699699
artifacts:
700-
- name: Helix_logs
700+
- name: Helix_Logs_Attempt_$(System.JobAttempt)
701701
path: artifacts/log/
702702
publishOnError: true
703703
includeForks: true

0 commit comments

Comments
 (0)