Buh
This commit is contained in:
parent
5b93c62c8d
commit
b8776a5412
1 changed files with 4 additions and 4 deletions
|
@ -11,8 +11,8 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonCPS
|
@NonCPS
|
||||||
def getConfig(environment) {
|
def getConfig() {
|
||||||
return new Yaml().load(readFile("deployment/config.yaml"))[environment]
|
return new Yaml().load(readFile("deployment/config.yaml"))
|
||||||
}
|
}
|
||||||
|
|
||||||
node() {
|
node() {
|
||||||
|
@ -22,8 +22,8 @@ node() {
|
||||||
def appManifest = "deployment/manifests/app.yaml"
|
def appManifest = "deployment/manifests/app.yaml"
|
||||||
|
|
||||||
println "teeeeeest start"
|
println "teeeeeest start"
|
||||||
def config = getConfig("dev")
|
def config = getConfig()
|
||||||
println config
|
println config.dev
|
||||||
println "teeeeeest end"
|
println "teeeeeest end"
|
||||||
|
|
||||||
stage("Build") {
|
stage("Build") {
|
||||||
|
|
Loading…
Reference in a new issue