This commit is contained in:
Ovidio Mallo 2016-12-09 15:23:17 +01:00
parent 5b93c62c8d
commit b8776a5412

View file

@ -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") {