Buh
This commit is contained in:
parent
45616594be
commit
11f5d34b33
1 changed files with 2 additions and 3 deletions
|
@ -12,18 +12,17 @@ def getReplicasOrDefault(deploymentConfig, project, defaultReplicas) {
|
|||
|
||||
@NonCPS
|
||||
def getConfig(environment) {
|
||||
new Yaml().load(readFile("deployment/config.yaml"))
|
||||
return new Yaml().load(readFile("deployment/config.yaml"))[environment]
|
||||
}
|
||||
|
||||
node() {
|
||||
def ocCmd = getOcCmd()
|
||||
|
||||
def configFile = "deployment/config.yaml"
|
||||
def buildManifest = "deployment/manifests/build.yaml"
|
||||
def appManifest = "deployment/manifests/app.yaml"
|
||||
|
||||
println "teeeeeest start"
|
||||
getConfig("dev")
|
||||
println getConfig("dev")
|
||||
println "teeeeeest end"
|
||||
|
||||
stage("Build") {
|
||||
|
|
Loading…
Reference in a new issue