buh
This commit is contained in:
parent
324e9929f7
commit
66a942b4aa
1 changed files with 5 additions and 5 deletions
|
@ -8,12 +8,12 @@ node() {
|
||||||
def config = ocutil.parseYaml(readFile("deployment/config.yaml"))
|
def config = ocutil.parseYaml(readFile("deployment/config.yaml"))
|
||||||
|
|
||||||
stage("Build") {
|
stage("Build") {
|
||||||
ocBuild("rubex-dev", "frontend", config.dev.build.frontend)
|
ocutil.ocBuild("rubex-dev", "frontend", config.dev.build.frontend)
|
||||||
}
|
}
|
||||||
|
|
||||||
stage("Deploy to DEV") {
|
stage("Deploy to DEV") {
|
||||||
ocTag("rubex-dev", "frontend", "latest", "dev")
|
ocutil.ocTag("rubex-dev", "frontend", "latest", "dev")
|
||||||
ocDeploy("rubex-dev", "frontend", config.dev.deployment.frontend)
|
ocutil.ocDeploy("rubex-dev", "frontend", config.dev.deployment.frontend)
|
||||||
}
|
}
|
||||||
|
|
||||||
def isPromoteToTest = false
|
def isPromoteToTest = false
|
||||||
|
@ -23,8 +23,8 @@ node() {
|
||||||
|
|
||||||
if (isPromoteToTest) {
|
if (isPromoteToTest) {
|
||||||
stage("Deploy to TEST") {
|
stage("Deploy to TEST") {
|
||||||
ocTag("rubex-dev", "frontend", "dev", "test")
|
ocutil.ocTag("rubex-dev", "frontend", "dev", "test")
|
||||||
ocDeploy("rubex-test", "frontend", config.test.deployment.frontend)
|
ocutil.ocDeploy("rubex-test", "frontend", config.test.deployment.frontend)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue