From e84fcf2d1c7c45eb06ef47b1623e6c1325056def Mon Sep 17 00:00:00 2001 From: Rhys Bartels-Waller Date: Thu, 16 Jan 2020 13:12:21 +1100 Subject: [PATCH] Simplify syntax to use wildcard --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 14433d2d..383ade62 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -62,7 +62,7 @@ pipeline { } stage('Tag and Push Release Docker Image') { when { - branch pattern: "release-\\d+", comparator: "REGEXP" + branch 'release/*' } steps { sh 'docker tag inputoutput/cardano-graphql:${env.GIT_COMMIT_HASH} inputoutput/cardano-graphql:${env.PACKAGE_JSON.version}'