diff options
author | Lakshmi Priya <Priya91@users.noreply.github.com> | 2016-07-08 20:39:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-08 20:39:30 +0300 |
commit | c35fb344f7a5ae4928c5298961a35e16045a65d8 (patch) | |
tree | fd13d70664ae5ce23e098f7568ecffeb54e8491f /netci.groovy | |
parent | 56c283d7015218246332f06fd3092538dffda340 (diff) | |
parent | 75594f0cd303c3713e55a9d400ecc07b39b3ad83 (diff) |
Merge pull request #9909 from prajwal-aithal/devel/arm-ci-job-setup
ARM-CI: Change Linux ARM Emulator job setup
Diffstat (limited to 'netci.groovy')
-rw-r--r-- | netci.groovy | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/netci.groovy b/netci.groovy index 9d45e3e4df..7aa2dcaf8d 100644 --- a/netci.groovy +++ b/netci.groovy @@ -358,7 +358,7 @@ def osShortName = ['Windows 10': 'win10', // based on the OS being handled, and handle the triggers accordingly // (the machine affinity of the new job remains the same) // ************************** -[true].each { isPR -> +[true, false].each { isPR -> ['Debug', 'Release'].each { configurationGroup -> ['LinuxARMEmulator'].each { os -> def osGroup = osGroupMap[os] @@ -391,8 +391,14 @@ def osShortName = ['Windows 10': 'win10', Utilities.addArchival(newJob, archiveContents) // Set up triggers - if (os == 'LinuxARMEmulator') { - Utilities.addGithubPRTriggerForBranch(newJob, branch, "Innerloop Linux ARM Emulator ${configurationGroup} Cross Build", "(?i).*test\\W+Innerloop\\W+Linux\\W+ARM\\W+Emulator\\W+${configurationGroup}\\W+Cross\\W+Build.*") + if (isPR) { + if (os == 'LinuxARMEmulator') { + Utilities.addGithubPRTriggerForBranch(newJob, branch, "Innerloop Linux ARM Emulator ${configurationGroup} Cross Build") + } + } + else { + // Set a push trigger + Utilities.addGithubPushTrigger(newJob) } } } |