From 1dbd813bef3493917e3860f31109073e3294ba53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 1 Oct 2023 00:13:27 +0200 Subject: [PATCH] fix regex for tagging --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index bc6113a..3bd2045 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' -- 2.45.2