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:
Igor Mandrigin 2018-05-28 11:40:19 +02:00
parent 464c2c51ce
commit 0eebedadc9
No known key found for this signature in database
GPG Key ID: 4A0EDDE26E66BC8B
1 changed files with 0 additions and 4 deletions

View File

@ -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()