switch to shallow clone for checkouts, os x build from stable

This commit is contained in:
Stephen Birarda 2013-08-19 13:09:05 -07:00
parent f8cd138054
commit 9ee66288ab

View file

@ -10,9 +10,10 @@ def hifiJob(String targetName, Boolean deploy) {
scm { scm {
git(GIT_REPO_URL, 'master') { node -> git(GIT_REPO_URL, 'master') { node ->
node / includedRegions << "${targetName}/.*\nlibraries/.*" node << {
node / 'userRemoteConfigs' / 'hudson.plugins.git.UserRemoteConfig' / 'name' << '' includedRegions "${targetName}/.*\nlibraries/.*"
node / 'userRemoteConfigs' / 'hudson.plugins.git.UserRemoteConfig' / 'refspec' << '' useShallowClone true
}
} }
} }
@ -112,20 +113,23 @@ def targets = [
/* setup all of the target jobs to use the above template */ /* setup all of the target jobs to use the above template */
for (target in targets) { for (target in targets) {
queue hifiJob(target.key, target.value) queue hifiJob(target.key, target.value)
} }
/* setup the UNIX and OS X interface builds */ /* setup the OS X interface builds */
interfaceUnixJob = hifiJob('interface', false)
interfaceUnixJob.with {
name 'hifi-interface-unix'
}
queue interfaceUnixJob
interfaceAppleJob = hifiJob('interface', false) interfaceAppleJob = hifiJob('interface', false)
interfaceAppleJob.with { interfaceAppleJob.with {
name 'hifi-interface-osx' name 'hifi-interface-osx'
scm {
git(GIT_REPO_URL, 'stable') { node ->
node << {
includedRegions "interface/.*\nlibraries/.*"
useShallowClone true
}
}
}
configure { project -> configure { project ->
project << { project << {
assignedNode 'interface-mini' assignedNode 'interface-mini'