Upload the final modified version of the tests that is sent to helix (dotnet/coreclr...
authorJarret Shook <jashoo@microsoft.com>
Tue, 12 Nov 2019 06:25:39 +0000 (22:25 -0800)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2019 06:25:39 +0000 (22:25 -0800)
* Upload the final modified version of the tests that is sent to helix

* Add final test name

Commit migrated from https://github.com/dotnet/coreclr/commit/f46c7a6240bea3f7aac1f5c858204cd5e4940fbd

eng/pipelines/coreclr/templates/run-test-job.yml
eng/pipelines/coreclr/templates/xplat-pipeline-job.yml

index 53c763a..b8b6db1 100644 (file)
@@ -383,4 +383,15 @@ jobs:
         pathtoPublish: $(coreClrRepoRoot)/bin/Logs
         artifactName: '$(LogNamePrefix)_$(osGroup)$(osSubgroup)_$(archType)_$(buildConfig)_${{ parameters.testGroup }}'
       continueOnError: true
-      condition: always()
\ No newline at end of file
+      condition: always()
+
+    # Zip and publish the final helix submitted tests
+    - template: upload-artifact-step.yml
+      parameters:
+        rootFolder: $(testRootFolderPath)
+        includeRootFolder: false
+        archiveType: $(archiveType)
+        tarCompression: $(tarCompression)
+        archiveExtension: $(archiveExtension)
+        artifactName: $(finalTestArtifactName)
+        displayName: 'Final_Submitted_Tests_$(osGroup)$(osSubgroup)_$(archType)_$(buildConfig)_${{ parameters.testGroup }}'
\ No newline at end of file
index fd87b7a..9f2c61e 100644 (file)
@@ -110,6 +110,9 @@ jobs:
     - name: testArtifactName
       value: Tests_${{ parameters.managedTestBuildOsGroup }}${{ parameters.managedTestBuildOsSubgroup }}_$(archType)_$(buildConfig)
 
+    - name: finalTestArtifactName
+      value: Final_Tests_${{ parameters.managedTestBuildOsGroup }}${{ parameters.managedTestBuildOsSubgroup }}_$(archType)_$(buildConfig)
+
     - name: testNativeArtifactName
       value: 'NativeTestComponents_$(osGroup)$(osSubgroup)_$(archType)_$(buildConfig)'