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
|
||||
def getConfig(environment) {
|
||||
return new Yaml().load(readFile("deployment/config.yaml"))[environment]
|
||||
def getConfig() {
|
||||
return new Yaml().load(readFile("deployment/config.yaml"))
|
||||
}
|
||||
|
||||
node() {
|
||||
|
@ -22,8 +22,8 @@ node() {
|
|||
def appManifest = "deployment/manifests/app.yaml"
|
||||
|
||||
println "teeeeeest start"
|
||||
def config = getConfig("dev")
|
||||
println config
|
||||
def config = getConfig()
|
||||
println config.dev
|
||||
println "teeeeeest end"
|
||||
|
||||
stage("Build") {
|
||||
|
|
Loading…
Reference in a new issue