Enable logging for CI runs (#39381)
authorBill Wert <billwert@microsoft.com>
Thu, 16 Jul 2020 17:33:46 +0000 (10:33 -0700)
committerGitHub <noreply@github.com>
Thu, 16 Jul 2020 17:33:46 +0000 (10:33 -0700)
* Enable logging for CI runs

* mistaken variable name

* realized I was fixing the wrong thing. This should just set logging params for CI jobs.

* fix indent

* mistakenly moved variable groups to the wrong block.

* remove newline

* remove newline

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

index 249ff6b..7dadb9b 100644 (file)
@@ -64,10 +64,16 @@ jobs:
       - ${{ if ne(parameters.osGroup, 'Windows_NT') }}:
         - HelixPreCommand: $(HelixPreCommandStemLinux);$(ExtraMSBuildLogsLinux)
         - IsInternal: --internal
-        
       - group: DotNet-HelixApi-Access
       - group: dotnet-benchview
 
+    - ${{ if not(and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'))) }}:
+      - ${{ if eq( parameters.osGroup, 'Windows_NT') }}:
+        - HelixPreCommand: $(ExtraMSBuildLogsWindows)
+      - ${{ if ne(parameters.osGroup, 'Windows_NT') }}:
+          - HelixPreCommand: $(ExtraMSBuildLogsLinux)
+    
+
     - ${{ if and(eq(parameters.codeGenType, 'Interpreter'), eq(parameters.runtimeType, 'mono')) }}:
       - ${{ if eq( parameters.osGroup, 'Windows_NT') }}:
         - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: