From 3e6a8e0c563e2c7a2837bed8b0c09612bda3c0d7 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Thu, 20 Jul 2023 20:50:58 +0200 Subject: [PATCH] Improve the names of the test files/runs --- eng/pipelines/common/device-tests-steps.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/pipelines/common/device-tests-steps.yml b/eng/pipelines/common/device-tests-steps.yml index a175c5b9d1ad..9d95f7ccc727 100644 --- a/eng/pipelines/common/device-tests-steps.yml +++ b/eng/pipelines/common/device-tests-steps.yml @@ -61,18 +61,18 @@ steps: retryCountOnTaskFailure: 2 - task: PublishTestResults@2 - displayName: Publish the $(System.PhaseName) test results + displayName: Publish the $(Agent.JobName) test results condition: always() inputs: testResultsFormat: xUnit testResultsFiles: '$(TestResultsDirectory)/**/TestResults*(-*).xml' - testRunTitle: '$(System.PhaseName)_${{ parameters.windowsPackageId }} (attempt: $(System.JobAttempt))' + testRunTitle: '$(Agent.JobName) (attempt $(System.JobAttempt))' - task: PublishBuildArtifacts@1 displayName: Publish Artifacts condition: always() inputs: - artifactName: $(System.PhaseName)_attempt_$(System.JobAttempt) + artifactName: '$(Agent.JobName) (attempt $(System.JobAttempt))' # This must always be placed as the last step in the job - template: agent-rebooter/mac.v1.yml@yaml-templates