[Linux/x86] Change non-PR Linux/x86 build CI job to daily job (dotnet/coreclr#10551)
authorHyeongseok Oh <hseok82.oh@samsung.com>
Wed, 29 Mar 2017 23:31:52 +0000 (08:31 +0900)
committerGaurav Khanna <gkhanna@microsoft.com>
Wed, 29 Mar 2017 23:31:52 +0000 (16:31 -0700)
This commit change non-PR Linux/x86 build CI job to daily job.
This job only perform build process now,
but it will be perform Linux/x86 CoreCLR unittest later.
And build result could be used for Linux/x86 CoreFX unittest.

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

src/coreclr/netci.groovy

index 0c6d139..396893f 100755 (executable)
@@ -364,7 +364,10 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def
                 case 'x64':
                 case 'x86':
                 case 'x86compatjit':
-                    if (isFlowJob || os == 'Windows_NT' || !(os in Constants.crossList)) {
+                    if (architecture == 'x86' && os == 'Ubuntu') {
+                        Utilities.addPeriodicTrigger(job, '@daily')
+                    }
+                    else if (isFlowJob || os == 'Windows_NT' || !(os in Constants.crossList)) {
                         Utilities.addGithubPushTrigger(job)
                     }
                     break