buh
This commit is contained in:
parent
242eda5f3e
commit
52fabd4bb0
1 changed files with 6 additions and 2 deletions
|
@ -36,9 +36,13 @@ def ocDelete(namespace, target) {
|
|||
def ocBuild(namespace, name, config) {
|
||||
def ocCmd = getOcCmd()
|
||||
|
||||
config.delete.each { target -> ocDelete(namespace, target) }
|
||||
for (def target : config.delete) {
|
||||
ocDelete(namespace, target)
|
||||
}
|
||||
|
||||
config.templates.each { template -> ocApplyTemplate(namespace, template) }
|
||||
for (def template : config.templates) {
|
||||
ocApplyTemplate(namespace, template)
|
||||
}
|
||||
|
||||
sh "${ocCmd} start-build ${name} -w -n ${namespace}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue