This commit is contained in:
Ovidio Mallo 2016-12-09 15:19:19 +01:00
parent 45616594be
commit 11f5d34b33

View file

@ -12,18 +12,17 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
@NonCPS @NonCPS
def getConfig(environment) { def getConfig(environment) {
new Yaml().load(readFile("deployment/config.yaml")) return new Yaml().load(readFile("deployment/config.yaml"))[environment]
} }
node() { node() {
def ocCmd = getOcCmd() def ocCmd = getOcCmd()
def configFile = "deployment/config.yaml"
def buildManifest = "deployment/manifests/build.yaml" def buildManifest = "deployment/manifests/build.yaml"
def appManifest = "deployment/manifests/app.yaml" def appManifest = "deployment/manifests/app.yaml"
println "teeeeeest start" println "teeeeeest start"
getConfig("dev") println getConfig("dev")
println "teeeeeest end" println "teeeeeest end"
stage("Build") { stage("Build") {