Tag the image stream with a version
This commit is contained in:
parent
dc90b5a17f
commit
6ad0043365
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ node() {
|
||||||
|
|
||||||
if (isPromoteToTest) {
|
if (isPromoteToTest) {
|
||||||
stage("Deploy to TEST") {
|
stage("Deploy to TEST") {
|
||||||
ocutil.ocTag("rubex-dev", "frontend", "dev", "test")
|
def semver = sh(script: "mono /usr/local/GitVersion_3.6.5/GitVersion.exe /showvariable FullSemVer", returnStdout: true).trim()
|
||||||
|
ocutil.ocTag("rubex-dev", "frontend", "dev", semver)
|
||||||
|
ocutil.ocTag("rubex-dev", "frontend", semver, "test")
|
||||||
ocutil.ocDeploy("rubex-test", "frontend", config.test.deployment.frontend)
|
ocutil.ocDeploy("rubex-test", "frontend", config.test.deployment.frontend)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue