This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 9e84772158181a6e093bdb143a6b626633ab3447
Author: Shad Storhaug <[email protected]>
AuthorDate: Tue Oct 26 08:03:55 2021 +0700

    run-tests-on-os.yml: Added JobId so to the artifact name so re-running a 
failed test job will succeed if the artifact exists
---
 build/azure-templates/run-tests-on-os.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/azure-templates/run-tests-on-os.yml 
b/build/azure-templates/run-tests-on-os.yml
index 4121e47..3ce1840 100644
--- a/build/azure-templates/run-tests-on-os.yml
+++ b/build/azure-templates/run-tests-on-os.yml
@@ -219,7 +219,7 @@ steps:
   displayName: 'Publish Artifact: ${{ parameters.testResultsArtifactName }}'
   inputs:
     targetPath: '$(Build.ArtifactStagingDirectory)/${{ 
parameters.testResultsArtifactName }}'
-    ArtifactName: '${{ parameters.testResultsArtifactName }}_${{ 
parameters.osName }}_${{ parameters.framework }}_${{ parameters.vsTestPlatform 
}}'
+    ArtifactName: '${{ parameters.testResultsArtifactName }}_${{ 
parameters.osName }}_${{ parameters.framework }}_${{ parameters.vsTestPlatform 
}}__JobID_$(System.JobId)'
   condition: succeededOrFailed()
 
 # Due to the fact that it is not possible to loop a task and

Reply via email to