Skip to content

Commit d7cd46e

Browse files
Updated ci-public.yml - add job attempt number to log and test results artifacts that are published on error outcomes.
1 parent 502dd8f commit d7cd46e

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.azure/pipelines/ci-public.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ stages:
9393
- powershell: ./eng/scripts/CodeCheck.ps1 -ci $(_InternalRuntimeDownloadArgs)
9494
displayName: Run eng/scripts/CodeCheck.ps1
9595
artifacts:
96-
- name: Code_Check_Logs
96+
- name: Code_Check_Logs_Attempt_$(System.JobAttempt)
9797
path: artifacts/log/
9898
publishOnError: true
9999
includeForks: true
@@ -213,7 +213,7 @@ stages:
213213
displayName: Build ARM64 Installers
214214

215215
artifacts:
216-
- name: Windows_Logs
216+
- name: Windows_Logs_Attempt_$(System.JobAttempt)
217217
path: artifacts/log/
218218
publishOnError: true
219219
includeForks: true
@@ -246,7 +246,7 @@ stages:
246246
$(_InternalRuntimeDownloadArgs)
247247
installNodeJs: false
248248
artifacts:
249-
- name: MacOS_arm64_Logs
249+
- name: MacOS_arm64_Logs_Attempt_$(System.JobAttempt)
250250
path: artifacts/log/
251251
publishOnError: true
252252
includeForks: true
@@ -277,7 +277,7 @@ stages:
277277
$(_InternalRuntimeDownloadArgs)
278278
installNodeJs: false
279279
artifacts:
280-
- name: MacOS_x64_Logs
280+
- name: MacOS_x64_Logs_Attempt_$(System.JobAttempt)
281281
path: artifacts/log/
282282
publishOnError: true
283283
includeForks: true
@@ -324,7 +324,7 @@ stages:
324324
displayName: Build RPM installers
325325
installNodeJs: false
326326
artifacts:
327-
- name: Linux_x64_Logs
327+
- name: Linux_x64_Logs_Attempt_$(System.JobAttempt)
328328
path: artifacts/log/
329329
publishOnError: true
330330
includeForks: true
@@ -355,7 +355,7 @@ stages:
355355
$(_InternalRuntimeDownloadArgs)
356356
installNodeJs: false
357357
artifacts:
358-
- name: Linux_arm_Logs
358+
- name: Linux_arm_Logs_Attempt_$(System.JobAttempt)
359359
path: artifacts/log/
360360
publishOnError: true
361361
includeForks: true
@@ -395,7 +395,7 @@ stages:
395395
displayName: Build RPM installers
396396
installNodeJs: false
397397
artifacts:
398-
- name: Linux_arm64_Logs
398+
- name: Linux_arm64_Logs_Attempt_$(System.JobAttempt)
399399
path: artifacts/log/
400400
publishOnError: true
401401
includeForks: true
@@ -429,7 +429,7 @@ stages:
429429
installNodeJs: false
430430
disableComponentGovernance: true
431431
artifacts:
432-
- name: Linux_musl_x64_Logs
432+
- name: Linux_musl_x64_Logs_Attempt_$(System.JobAttempt)
433433
path: artifacts/log/
434434
publishOnError: true
435435
includeForks: true
@@ -463,7 +463,7 @@ stages:
463463
$(_InternalRuntimeDownloadArgs)
464464
installNodeJs: false
465465
artifacts:
466-
- name: Linux_musl_arm_Logs
466+
- name: Linux_musl_arm_Logs_Attempt_$(System.JobAttempt)
467467
path: artifacts/log/
468468
publishOnError: true
469469
includeForks: true
@@ -497,7 +497,7 @@ stages:
497497
$(_InternalRuntimeDownloadArgs)
498498
installNodeJs: false
499499
artifacts:
500-
- name: Linux_musl_arm64_Logs
500+
- name: Linux_musl_arm64_Logs_Attempt_$(System.JobAttempt)
501501
path: artifacts/log/
502502
publishOnError: true
503503
includeForks: true
@@ -526,11 +526,11 @@ stages:
526526
- powershell: "& ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
527527
displayName: Setup IISExpress test certificates and schema
528528
artifacts:
529-
- name: Windows_Test_Logs
529+
- name: Windows_Test_Logs_Attempt_$(System.JobAttempt)
530530
path: artifacts/log/
531531
publishOnError: true
532532
includeForks: true
533-
- name: Windows_Test_Results
533+
- name: Windows_Test_Results_Attempt_$(System.JobAttempt)
534534
path: artifacts/TestResults/
535535
publishOnError: true
536536
includeForks: true
@@ -547,11 +547,11 @@ stages:
547547
- bash: "./eng/scripts/install-nginx-mac.sh"
548548
displayName: Installing Nginx
549549
artifacts:
550-
- name: MacOS_Test_Logs
550+
- name: MacOS_Test_Logs_Attempt_$(System.JobAttempt)
551551
path: artifacts/log/
552552
publishOnError: true
553553
includeForks: true
554-
- name: MacOS_Test_Results
554+
- name: MacOS_Test_Results_Attempt_$(System.JobAttempt)
555555
path: artifacts/TestResults/
556556
publishOnError: true
557557
includeForks: true
@@ -570,11 +570,11 @@ stages:
570570
- bash: "echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p"
571571
displayName: Increase inotify limit
572572
artifacts:
573-
- name: Linux_Test_Logs
573+
- name: Linux_Test_Logs_Attempt_$(System.JobAttempt)
574574
path: artifacts/log/
575575
publishOnError: true
576576
includeForks: true
577-
- name: Linux_Test_Results
577+
- name: Linux_Test_Results_Attempt_$(System.JobAttempt)
578578
path: artifacts/TestResults/
579579
publishOnError: true
580580
includeForks: true
@@ -601,7 +601,7 @@ stages:
601601
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
602602

603603
artifacts:
604-
- name: Helix_logs
604+
- name: Helix_Logs_Attempt_$(System.JobAttempt)
605605
path: artifacts/log/
606606
publishOnError: true
607607
includeForks: true

0 commit comments

Comments
 (0)