Buh
This commit is contained in:
parent
44bd316b37
commit
4b48851f4f
1 changed files with 6 additions and 1 deletions
|
@ -10,6 +10,11 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
|
||||||
return replicas ?: defaultReplicas
|
return replicas ?: defaultReplicas
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@NoCPS
|
||||||
|
def getConfig(environment) {
|
||||||
|
new Yaml().load(readFile("deployment/config.yaml"))
|
||||||
|
}
|
||||||
|
|
||||||
node() {
|
node() {
|
||||||
def ocCmd = getOcCmd()
|
def ocCmd = getOcCmd()
|
||||||
|
|
||||||
|
@ -18,7 +23,7 @@ node() {
|
||||||
def appManifest = "deployment/manifests/app.yaml"
|
def appManifest = "deployment/manifests/app.yaml"
|
||||||
|
|
||||||
println "teeeeeest start"
|
println "teeeeeest start"
|
||||||
new Yaml().load(readFile(configFile))
|
getConfig("dev")
|
||||||
println "teeeeeest end"
|
println "teeeeeest end"
|
||||||
|
|
||||||
stage("Build") {
|
stage("Build") {
|
||||||
|
|
Loading…
Reference in a new issue