Allow to build any branch in release configuration.
Important to be able to implement nightlies with the release conf. Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
parent
464c2c51ce
commit
0eebedadc9
|
@ -31,10 +31,6 @@ timeout(90) {
|
|||
stage('Git & Dependencies') {
|
||||
slackSend color: 'good', message: BRANCH_NAME + ' build started. ' + env.BUILD_URL
|
||||
|
||||
if (!BRANCH_NAME.startsWith("release/")){
|
||||
error "Wrong branch name format: " + BRANCH_NAME + ", but it should be `release/version`"
|
||||
}
|
||||
|
||||
checkout scm
|
||||
|
||||
version = readFile("${env.WORKSPACE}/VERSION").trim()
|
||||
|
|
Loading…
Reference in New Issue