From 47a0008f3f0bd8736a9affbe5bc20f54a46b987f Mon Sep 17 00:00:00 2001
From: Christopher Hubing <chubing@internet2.edu>
Date: Wed, 11 May 2022 12:47:32 -0400
Subject: [PATCH] logic to skip building 2.6.9 for now

---
 Jenkinsfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 93bfc2ad..3f0f4204 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -15,7 +15,9 @@ pipeline {
                     if(env.BRANCH_NAME == "main") {
                        tag = "latest"
                     } else if (env.BRANCH_NAME == "2.6.9") {
-                       handleError("skipping docker image build of 2.6.9, not released yet.")        
+                       // skip it for now
+                       currentBuild.setResult("SKIPPED")
+                       sh 'exit 1'       
                     } else {
                        tag = env.BRANCH_NAME
                     }