slaveAttributes option added (#139)
This commit is contained in:
parent
d1b752c1e5
commit
6e59f0b19e
|
|
@ -21,6 +21,8 @@ jenkins:
|
||||||
labelString: 'docker'
|
labelString: 'docker'
|
||||||
slaveCpus: 0.1
|
slaveCpus: 0.1
|
||||||
slaveMem: 512
|
slaveMem: 512
|
||||||
|
slaveAttributes: >
|
||||||
|
{"rack":"jenkins-build-agents"}
|
||||||
executorCpus: 0.1
|
executorCpus: 0.1
|
||||||
executorMem: 128
|
executorMem: 128
|
||||||
diskNeeded: 0.0
|
diskNeeded: 0.0
|
||||||
|
|
@ -46,7 +48,6 @@ jenkins:
|
||||||
|
|
||||||
## implementation note
|
## implementation note
|
||||||
|
|
||||||
Jenkins singleton doesn't offer any `setClouds` method. So here we rely on a pseudo-property implemented by a dedicated
|
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
|
`Attribute` to add the configured clouds to `Jenkins.clouds`. The current implementation only adds the configured cloud
|
||||||
if it doesn't exists yet.
|
if it doesn't exists yet.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue