fix regex for tagging
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good

This commit is contained in:
Bence Pőcze 2023-10-01 00:13:27 +02:00
parent 14d83d24b4
commit 1dbd813bef
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

2
Jenkinsfile vendored
View File

@ -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'