[PERF] Fix perf pipeline runs from variable error (#82553)
authorParker Bibus <parkerbibus@microsoft.com>
Thu, 23 Feb 2023 20:33:50 +0000 (12:33 -0800)
committerGitHub <noreply@github.com>
Thu, 23 Feb 2023 20:33:50 +0000 (12:33 -0800)
* Setup testing.
* Update variable insertion.
* Revert "Setup testing."

This reverts commit 252865d57ee376d338c9940f2ea53bf3384c74d8.

eng/pipelines/coreclr/templates/perf-job.yml
eng/pipelines/coreclr/templates/run-performance-job.yml

index 986e5bd..73aaed8 100644 (file)
@@ -111,8 +111,7 @@ jobs:
 
     variables:
     - ${{ each variable in parameters.variables }}:
-      - name: ${{ variable.name }}
-        value: ${{ variable.value }}
+      - ${{insert}}: ${{ variable }}
 
     - name: _compareArg
       ${{ if eq(parameters.compare, 'true') }}:
index 60d225a..1721e5a 100644 (file)
@@ -50,7 +50,7 @@ jobs:
 
     variables:
     - ${{ each variable in parameters.variables }}:
-          - ${{insert}}: ${{ variable }}
+      - ${{insert}}: ${{ variable }}
 
     - IsInternal: ''
     - HelixApiAccessToken: ''