Run Azure DevOps builds against pull requests in coreclr/master (#22051)
authorEgor Chesakov <Egor.Chesakov@microsoft.com>
Fri, 18 Jan 2019 22:05:29 +0000 (14:05 -0800)
committerGitHub <noreply@github.com>
Fri, 18 Jan 2019 22:05:29 +0000 (14:05 -0800)
And disable Windows_NT and Ubuntu arm32 and arm64 default triggers in Jenkins CI

azure-pipelines.yml
netci.groovy
tests/helixpublishwitharcade.proj

index f40bbad..1b55807 100644 (file)
@@ -23,6 +23,11 @@ resources:
   - container: centos6_x64_build_image
     image: microsoft/dotnet-buildtools-prereqs:centos-6-376e1a3-20174311014331
 
+trigger: none
+
+pr:
+- master
+
 jobs:
 
 ##   The following is the matrix of test runs that we have. This is
index b1c19a3..14b9ef5 100755 (executable)
@@ -1923,18 +1923,10 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
                         break
                     }
 
-                    switch (scenario) {
-                        case 'innerloop':
-                        case 'no_tiered_compilation_innerloop':
-                            if (configuration == 'Checked') {
-                                isDefaultTrigger = true
-                            }
-                            break
-                         case 'crossgen_comparison':
-                            if (os == 'Ubuntu' && architecture == 'arm' && (configuration == 'Checked' || configuration == 'Release')) {
-                                isDefaultTrigger = true
-                            }
-                            break
+                    if (scenario == 'crossgen_comparison') {
+                        if (os == 'Ubuntu' && architecture == 'arm' && (configuration == 'Checked' || configuration == 'Release')) {
+                            isDefaultTrigger = true
+                        }
                     }
                     break
 
@@ -1951,13 +1943,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
 
                     switch (scenario) {
                         case 'innerloop':
-                            if (configuration == 'Debug') {
-                                // Add default PR trigger for Windows arm64 Debug builds. This is a build only -- no tests are run --
-                                // so the private test hardware is not used. Thus, it can be run by all users, not just arm64Users.
-                                // People in arm64Users will get both this and the Checked Build and Test job.
-                                isDefaultTrigger = true
-                            } else if (configuration == 'Checked') {
-                                isDefaultTrigger = true
+                            if (configuration == 'Checked') {
                                 isArm64PrivateJob = true
                             }
                             break
index 65341d3..39ee7fe 100644 (file)
@@ -69,6 +69,8 @@
 
   <Target Name="BuildHelixWorkItem" BeforeTargets="Test">
     <PropertyGroup>
+      <EnableXUnitReporter>true</EnableXUnitReporter>
+      <FailOnMissionControlTestFailure>true</FailOnMissionControlTestFailure>
       <TestRunNamePrefix Condition=" '$(Scenario)' == 'normal' ">$(BuildOS) $(BuildArch) $(BuildType) @ </TestRunNamePrefix>
       <TestRunNamePrefix Condition=" '$(Scenario)' != 'normal' ">$(BuildOS) $(BuildArch) $(BuildType) $(Scenario) @ </TestRunNamePrefix>
       <_XUnitRunnerArgs>-parallel collections -nocolor -noshadow -xml testResults.xml -notrait category=outerloop -notrait category=failing</_XUnitRunnerArgs>