Move the version echo command inside the build stage
This commit is contained in:
parent
6253ad9e28
commit
df073e8502
2 changed files with 1 additions and 1 deletions
|
@ -10,9 +10,9 @@ node() {
|
||||||
|
|
||||||
def buildVersion = occd.getBuildVersion()
|
def buildVersion = occd.getBuildVersion()
|
||||||
def releaseVersion = occd.getReleaseVersion()
|
def releaseVersion = occd.getReleaseVersion()
|
||||||
echo "versions: buildVersion=${buildVersion}, releaseVersion=${releaseVersion}"
|
|
||||||
|
|
||||||
stage("Build") {
|
stage("Build") {
|
||||||
|
echo "versions: buildVersion=${buildVersion}, releaseVersion=${releaseVersion}"
|
||||||
sh "sed -e 's/{{BUILD_VERSION}}/${buildVersion}/g' -i config.ru"
|
sh "sed -e 's/{{BUILD_VERSION}}/${buildVersion}/g' -i config.ru"
|
||||||
occd.build("rubex-dev", "frontend", config.dev.build.frontend)
|
occd.build("rubex-dev", "frontend", config.dev.build.frontend)
|
||||||
}
|
}
|
||||||
|
|
0
deployment/feature-build-pipeline.groovy
Normal file
0
deployment/feature-build-pipeline.groovy
Normal file
Loading…
Reference in a new issue