From 87fb9af12afb29087a818bd588037996a97bf000 Mon Sep 17 00:00:00 2001 From: Egor Chesakov Date: Fri, 18 Jan 2019 14:05:29 -0800 Subject: Run Azure DevOps builds against pull requests in coreclr/master (#22051) And disable Windows_NT and Ubuntu arm32 and arm64 default triggers in Jenkins CI --- azure-pipelines.yml | 5 +++++ netci.groovy | 24 +++++------------------- tests/helixpublishwitharcade.proj | 2 ++ 3 files changed, 12 insertions(+), 19 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f40bbad15f..1b55807732 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 diff --git a/netci.groovy b/netci.groovy index b1c19a3cd4..14b9ef5b06 100755 --- a/netci.groovy +++ b/netci.groovy @@ -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 diff --git a/tests/helixpublishwitharcade.proj b/tests/helixpublishwitharcade.proj index 65341d3ac8..39ee7fe2df 100644 --- a/tests/helixpublishwitharcade.proj +++ b/tests/helixpublishwitharcade.proj @@ -69,6 +69,8 @@ + true + true $(BuildOS) $(BuildArch) $(BuildType) @ $(BuildOS) $(BuildArch) $(BuildType) $(Scenario) @ <_XUnitRunnerArgs>-parallel collections -nocolor -noshadow -xml testResults.xml -notrait category=outerloop -notrait category=failing -- cgit v1.2.3