Merge pull request 'fix regex for tagging' (!74) from bugfix/fix-regex into master
Reviewed-on: #74
This commit is contained in:
commit
6341072b0b
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -100,7 +100,7 @@ pipeline {
|
||||
label: 'Build Docker image'
|
||||
|
||||
if (env.BRANCH_NAME == 'master') {
|
||||
if (env.VERSION ==~ '-\\d+-g[a-f0-9]{7}') {
|
||||
if (env.VERSION ==~ '.*-\\d+-g[a-f0-9]{7}') {
|
||||
env.FIXED_VERSION = 'dev'
|
||||
} else {
|
||||
env.FIXED_VERSION = 'stable'
|
||||
|
Loading…
Reference in New Issue
Block a user