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
|
@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") {
|
||||||
|
|
Loading…
Reference in a new issue