Buh
This commit is contained in:
parent
06bc80f90a
commit
6b0a91a4b8
1 changed files with 5 additions and 4 deletions
|
@ -31,13 +31,14 @@ node() {
|
||||||
println "teeeeeest start"
|
println "teeeeeest start"
|
||||||
def config = getConfig()
|
def config = getConfig()
|
||||||
println config.getClass()
|
println config.getClass()
|
||||||
|
println config
|
||||||
println "teeeeeest end"
|
println "teeeeeest end"
|
||||||
|
|
||||||
sh "${ocCmd} process -f ${buildManifest} -n rubex-dev | ${ocCmd} apply -f - -n rubex-dev"
|
//sh "${ocCmd} process -f ${buildManifest} -n rubex-dev | ${ocCmd} apply -f - -n rubex-dev"
|
||||||
sh "${ocCmd} start-build frontend -w -n rubex-dev"
|
//sh "${ocCmd} start-build frontend -w -n rubex-dev"
|
||||||
}
|
}
|
||||||
|
|
||||||
stage("Deploy to DEV") {
|
/*stage("Deploy to DEV") {
|
||||||
def replicas = getReplicasOrDefault("frontend", "rubex-dev", 1)
|
def replicas = getReplicasOrDefault("frontend", "rubex-dev", 1)
|
||||||
sh "${ocCmd} process -f ${appManifest} -v ENV=dev -v REPLICAS=${replicas} -n rubex-dev | ${ocCmd} apply -f - -n rubex-dev"
|
sh "${ocCmd} process -f ${appManifest} -v ENV=dev -v REPLICAS=${replicas} -n rubex-dev | ${ocCmd} apply -f - -n rubex-dev"
|
||||||
sh "${ocCmd} tag rubex-dev/frontend:latest rubex-dev/frontend:dev"
|
sh "${ocCmd} tag rubex-dev/frontend:latest rubex-dev/frontend:dev"
|
||||||
|
@ -58,5 +59,5 @@ node() {
|
||||||
sh "${ocCmd} rollout latest dc/frontend -n rubex-test"
|
sh "${ocCmd} rollout latest dc/frontend -n rubex-test"
|
||||||
sh "${ocCmd} rollout status dc/frontend -n rubex-test"
|
sh "${ocCmd} rollout status dc/frontend -n rubex-test"
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue