This commit is contained in:
Ovidio Mallo 2016-12-09 15:17:10 +01:00
parent 44bd316b37
commit 4b48851f4f

View file

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