diff options
author | Prajwal A N <an.prajwal@samsung.com> | 2016-07-08 04:05:39 +0300 |
---|---|---|
committer | Prajwal A N <an.prajwal@samsung.com> | 2016-07-08 07:47:53 +0300 |
commit | 75594f0cd303c3713e55a9d400ecc07b39b3ad83 (patch) | |
tree | 54f302992dfbf64b992f2d2e6c7ec35a12299281 /netci.groovy | |
parent | dd40aa9636a7f0b57758264239c5bcfa119d10af (diff) |
ARM-CI: Change Linux ARM Emulator job setup
* Made the Linux ARM Emulator PR job automatic
under the name linuxarmemulator_cross_<configuration>_prtest
* Added a push-based job for non-PR configuration
under the name linuxarmemulator_cross_<configuration>
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
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 fed47b00c2..232d71a1ec 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] @@ -388,8 +388,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) } } } |