bunch interface in a map with other targets, queue added jobs

This commit is contained in:
Stephen Birarda 2013-06-19 14:34:22 -07:00
parent cfe089b2ff
commit 1ad6af8b8d

View file

@ -92,25 +92,23 @@ def hifiJob(String targetName, Boolean deploy) {
} }
} }
def deployTargets = [ def targets = [
'animation-server', 'animation-server':true,
'audio-mixer', 'audio-mixer':true,
'avatar-mixer', 'avatar-mixer':true,
'domain-server', 'domain-server':true,
'eve', 'eve':true,
'pairing-server', 'pairing-server':true,
'space-server', 'space-server':true,
'voxel-server' 'voxel-server':true,
'interface':false
] ]
/* setup all of the deploys jobs that use the above template */ /* setup all of the target jobs to use the above template */
deployTargets.each { for (target in targets) {
hifiJob(it, true) queue hifiJob(target, target.value)
} }
/* setup the interface job, doesn't deploy */
hifiJob('interface', false)
/* setup the parametrized-build job for builds from jenkins */ /* setup the parametrized-build job for builds from jenkins */
parameterizedJob = hifiJob('$TARGET', true) parameterizedJob = hifiJob('$TARGET', true)
parameterizedJob.with { parameterizedJob.with {