Remove the "oc" prefix from method names
This commit is contained in:
parent
18d800bfe5
commit
39cf117e52
1 changed files with 6 additions and 6 deletions
|
@ -17,12 +17,12 @@ node() {
|
||||||
|
|
||||||
stage("Build") {
|
stage("Build") {
|
||||||
sh "sed -e 's/{{BUILD_VERSION}}/${buildVersion}/g' -i config.ru"
|
sh "sed -e 's/{{BUILD_VERSION}}/${buildVersion}/g' -i config.ru"
|
||||||
ocutil.ocBuild("rubex-dev", "frontend", config.dev.build.frontend)
|
ocutil.build("rubex-dev", "frontend", config.dev.build.frontend)
|
||||||
}
|
}
|
||||||
|
|
||||||
stage("Deploy to DEV") {
|
stage("Deploy to DEV") {
|
||||||
ocutil.ocTag("rubex-dev", "frontend", "latest", "dev")
|
ocutil.tag("rubex-dev", "frontend", "latest", "dev")
|
||||||
ocutil.ocRollout("rubex-dev", "frontend", config.dev.deployment.frontend)
|
ocutil.rollout("rubex-dev", "frontend", config.dev.deployment.frontend)
|
||||||
}
|
}
|
||||||
|
|
||||||
def isPromoteToTest = false
|
def isPromoteToTest = false
|
||||||
|
@ -37,9 +37,9 @@ node() {
|
||||||
sh "git push --tags https://${GIT_USERNAME}:${GIT_PASSWORD}@github.com/omallo/ruby-ex.git"
|
sh "git push --tags https://${GIT_USERNAME}:${GIT_PASSWORD}@github.com/omallo/ruby-ex.git"
|
||||||
}
|
}
|
||||||
|
|
||||||
ocutil.ocTag("rubex-dev", "frontend", "dev", tagVersion)
|
ocutil.tag("rubex-dev", "frontend", "dev", tagVersion)
|
||||||
ocutil.ocTag("rubex-dev", "frontend", tagVersion, "test")
|
ocutil.tag("rubex-dev", "frontend", tagVersion, "test")
|
||||||
ocutil.ocRollout("rubex-test", "frontend", config.test.deployment.frontend)
|
ocutil.rollout("rubex-test", "frontend", config.test.deployment.frontend)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue