From 5b6321b6609e43b1a8eac5be1aac702d277f5868 Mon Sep 17 00:00:00 2001 From: Christopher Hubing Date: Wed, 16 Feb 2022 11:49:58 -0500 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 72d0058..4451d90 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,7 @@ def grouper_src_branch = "GROUPER_RELEASE_${git_tag}" node('docker') { -pipeline { + if (git_tag ==~ tag_pattern ) { environment { JAVA_HOME='/home/centos/agent/tools/hudson.model.JDK/Corretto-JDK8/amazon-corretto-8.322.06.2-linux-x64' @@ -89,4 +89,4 @@ pipeline { error "Aborting build since tag doesn't match pattern '${tag_pattern}'" } } -} +