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'