Move the version echo command inside the build stage

This commit is contained in:
Ovidio Mallo 2017-01-04 00:43:44 +01:00
parent 6253ad9e28
commit df073e8502
2 changed files with 1 additions and 1 deletions

View file

@ -10,9 +10,9 @@ node() {
def buildVersion = occd.getBuildVersion()
def releaseVersion = occd.getReleaseVersion()
echo "versions: buildVersion=${buildVersion}, releaseVersion=${releaseVersion}"
stage("Build") {
echo "versions: buildVersion=${buildVersion}, releaseVersion=${releaseVersion}"
sh "sed -e 's/{{BUILD_VERSION}}/${buildVersion}/g' -i config.ru"
occd.build("rubex-dev", "frontend", config.dev.build.frontend)
}

View file