fix regex for tagging
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
This commit is contained in:
parent
14d83d24b4
commit
1dbd813bef
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -100,7 +100,7 @@ pipeline {
|
|||||||
label: 'Build Docker image'
|
label: 'Build Docker image'
|
||||||
|
|
||||||
if (env.BRANCH_NAME == 'master') {
|
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'
|
env.FIXED_VERSION = 'dev'
|
||||||
} else {
|
} else {
|
||||||
env.FIXED_VERSION = 'stable'
|
env.FIXED_VERSION = 'stable'
|
||||||
|
Loading…
Reference in New Issue
Block a user