fix regex for tagging
rvr-nextgen/pipeline/pr-master This commit looks good

This commit is contained in:
bence committed 2023-10-01 00:13:27 +02:00
1 parent 14d83d24b4
commit 1dbd813bef
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -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'