use VERSION file in Jenkinsfiles
This commit is contained in:
parent
ec6df03fbc
commit
a3e3cd7891
|
@ -37,7 +37,7 @@ timeout(90) {
|
|||
|
||||
checkout scm
|
||||
|
||||
version = BRANCH_NAME.substring(8)
|
||||
version = readFile "${env.WORKSPACE}/VERSION"
|
||||
sh 'echo "' + version + '" > .version'
|
||||
|
||||
sh 'git fetch --tags'
|
||||
|
|
|
@ -37,7 +37,8 @@ timeout(90) {
|
|||
|
||||
checkout scm
|
||||
|
||||
version = BRANCH_NAME.substring(8)
|
||||
version = readFile "${env.WORKSPACE}/VERSION"
|
||||
|
||||
sh 'echo "' + version + '" > .version'
|
||||
|
||||
sh 'git fetch --tags'
|
||||
|
|
Loading…
Reference in New Issue