Skip to content

Commit 502dd8f

Browse files
Updated ci.yml - name artifacts with attempt number where publish on error is true (logs, test results)
1 parent 02af77e commit 502dd8f

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
@@ -160,7 +160,7 @@ extends:
160160
- powershell: ./eng/scripts/CodeCheck.ps1 -ci $(_InternalRuntimeDownloadArgs)
161161
displayName: Run eng/scripts/CodeCheck.ps1
162162
artifacts:
163-
- name: Code_Check_Logs
163+
- name: Code_Check_Logs_Attempt_$(System.JobAttempt)
164164
path: artifacts/log/
165165
publishOnError: true
166166
includeForks: true
@@ -280,7 +280,7 @@ extends:
280280
displayName: Build ARM64 Installers
281281

282282
artifacts:
283-
- name: Windows_Logs
283+
- name: Windows_Logs_Attempt_$(System.JobAttempt)
284284
path: artifacts/log/
285285
publishOnError: true
286286
includeForks: true
@@ -312,7 +312,7 @@ extends:
312312
$(_InternalRuntimeDownloadArgs)
313313
installNodeJs: false
314314
artifacts:
315-
- name: MacOS_arm64_Logs
315+
- name: MacOS_arm64_Logs_Attempt_$(System.JobAttempt)
316316
path: artifacts/log/
317317
publishOnError: true
318318
includeForks: true
@@ -342,7 +342,7 @@ extends:
342342
$(_InternalRuntimeDownloadArgs)
343343
installNodeJs: false
344344
artifacts:
345-
- name: MacOS_x64_Logs
345+
- name: MacOS_x64_Logs_Attempt_$(System.JobAttempt)
346346
path: artifacts/log/
347347
publishOnError: true
348348
includeForks: true
@@ -389,7 +389,7 @@ extends:
389389
displayName: Build RPM installers
390390
installNodeJs: false
391391
artifacts:
392-
- name: Linux_x64_Logs
392+
- name: Linux_x64_Logs_Attempt_$(System.JobAttempt)
393393
path: artifacts/log/
394394
publishOnError: true
395395
includeForks: true
@@ -420,7 +420,7 @@ extends:
420420
$(_InternalRuntimeDownloadArgs)
421421
installNodeJs: false
422422
artifacts:
423-
- name: Linux_arm_Logs
423+
- name: Linux_arm_Logs_Attempt_$(System.JobAttempt)
424424
path: artifacts/log/
425425
publishOnError: true
426426
includeForks: true
@@ -460,7 +460,7 @@ extends:
460460
displayName: Build RPM installers
461461
installNodeJs: false
462462
artifacts:
463-
- name: Linux_arm64_Logs
463+
- name: Linux_arm64_Logs_Attempt_$(System.JobAttempt)
464464
path: artifacts/log/
465465
publishOnError: true
466466
includeForks: true
@@ -494,7 +494,7 @@ extends:
494494
installNodeJs: false
495495
disableComponentGovernance: true
496496
artifacts:
497-
- name: Linux_musl_x64_Logs
497+
- name: Linux_musl_x64_Logs_Attempt_$(System.JobAttempt)
498498
path: artifacts/log/
499499
publishOnError: true
500500
includeForks: true
@@ -528,7 +528,7 @@ extends:
528528
$(_InternalRuntimeDownloadArgs)
529529
installNodeJs: false
530530
artifacts:
531-
- name: Linux_musl_arm_Logs
531+
- name: Linux_musl_arm_Logs_Attempt_$(System.JobAttempt)
532532
path: artifacts/log/
533533
publishOnError: true
534534
includeForks: true
@@ -562,7 +562,7 @@ extends:
562562
$(_InternalRuntimeDownloadArgs)
563563
installNodeJs: false
564564
artifacts:
565-
- name: Linux_musl_arm64_Logs
565+
- name: Linux_musl_arm64_Logs_Attempt_$(System.JobAttempt)
566566
path: artifacts/log/
567567
publishOnError: true
568568
includeForks: true
@@ -591,11 +591,11 @@ extends:
591591
- powershell: "& ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
592592
displayName: Setup IISExpress test certificates and schema
593593
artifacts:
594-
- name: Windows_Test_Logs
594+
- name: Windows_Test_Logs_Attempt_$(System.JobAttempt)
595595
path: artifacts/log/
596596
publishOnError: true
597597
includeForks: true
598-
- name: Windows_Test_Results
598+
- name: Windows_Test_Results_Attempt_$(System.JobAttempt)
599599
path: artifacts/TestResults/
600600
publishOnError: true
601601
includeForks: true
@@ -612,11 +612,11 @@ extends:
612612
- bash: "./eng/scripts/install-nginx-mac.sh"
613613
displayName: Installing Nginx
614614
artifacts:
615-
- name: MacOS_Test_Logs
615+
- name: MacOS_Test_Logs_Attempt_$(System.JobAttempt)
616616
path: artifacts/log/
617617
publishOnError: true
618618
includeForks: true
619-
- name: MacOS_Test_Results
619+
- name: MacOS_Test_Results_Attempt_$(System.JobAttempt)
620620
path: artifacts/TestResults/
621621
publishOnError: true
622622
includeForks: true
@@ -635,11 +635,11 @@ extends:
635635
- bash: "echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p"
636636
displayName: Increase inotify limit
637637
artifacts:
638-
- name: Linux_Test_Logs
638+
- name: Linux_Test_Logs_Attempt_$(System.JobAttempt)
639639
path: artifacts/log/
640640
publishOnError: true
641641
includeForks: true
642-
- name: Linux_Test_Results
642+
- name: Linux_Test_Results_Attempt_$(System.JobAttempt)
643643
path: artifacts/TestResults/
644644
publishOnError: true
645645
includeForks: true
@@ -666,7 +666,7 @@ extends:
666666
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
667667

668668
artifacts:
669-
- name: Helix_logs
669+
- name: Helix_Logs_Attempt_$(System.JobAttempt)
670670
path: artifacts/log/
671671
publishOnError: true
672672
includeForks: true

0 commit comments

Comments
 (0)