slaveAttributes option added (#139)

This commit is contained in:
Ewelina Wilkosz 2018-03-09 12:59:27 +01:00 committed by GitHub
parent d1b752c1e5
commit 6e59f0b19e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -21,6 +21,8 @@ jenkins:
labelString: 'docker'
slaveCpus: 0.1
slaveMem: 512
slaveAttributes: >
{"rack":"jenkins-build-agents"}
executorCpus: 0.1
executorMem: 128
diskNeeded: 0.0
@ -46,7 +48,6 @@ jenkins:
## implementation note
Jenkins singleton doesn't offer any `setClouds` method. So here we rely on a pseudo-property implemented by a dedicated
`Attribute` to add the configured clouds to `Jenkins.clouds`. The current implementation only adds the configured cloud
if it doesn't exists yet.
Jenkins singleton doesn't offer any `setClouds` method. So here we rely on a pseudo-property implemented by a dedicated
`Attribute` to add the configured clouds to `Jenkins.clouds`. The current implementation only adds the configured cloud
if it doesn't exists yet.