mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
switch to shallow clone for checkouts, os x build from stable
This commit is contained in:
parent
f8cd138054
commit
9ee66288ab
1 changed files with 16 additions and 12 deletions
|
@ -10,9 +10,10 @@ def hifiJob(String targetName, Boolean deploy) {
|
|||
|
||||
scm {
|
||||
git(GIT_REPO_URL, 'master') { node ->
|
||||
node / includedRegions << "${targetName}/.*\nlibraries/.*"
|
||||
node / 'userRemoteConfigs' / 'hudson.plugins.git.UserRemoteConfig' / 'name' << ''
|
||||
node / 'userRemoteConfigs' / 'hudson.plugins.git.UserRemoteConfig' / 'refspec' << ''
|
||||
node << {
|
||||
includedRegions "${targetName}/.*\nlibraries/.*"
|
||||
useShallowClone true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -112,20 +113,23 @@ def targets = [
|
|||
|
||||
/* setup all of the target jobs to use the above template */
|
||||
for (target in targets) {
|
||||
queue hifiJob(target.key, target.value)
|
||||
queue hifiJob(target.key, target.value)
|
||||
}
|
||||
|
||||
/* setup the UNIX and OS X interface builds */
|
||||
interfaceUnixJob = hifiJob('interface', false)
|
||||
interfaceUnixJob.with {
|
||||
name 'hifi-interface-unix'
|
||||
}
|
||||
|
||||
queue interfaceUnixJob
|
||||
|
||||
/* setup the OS X interface builds */
|
||||
interfaceAppleJob = hifiJob('interface', false)
|
||||
interfaceAppleJob.with {
|
||||
name 'hifi-interface-osx'
|
||||
|
||||
scm {
|
||||
git(GIT_REPO_URL, 'stable') { node ->
|
||||
node << {
|
||||
includedRegions "interface/.*\nlibraries/.*"
|
||||
useShallowClone true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
configure { project ->
|
||||
project << {
|
||||
assignedNode 'interface-mini'
|
||||
|
|
Loading…
Reference in a new issue