From 660430210bad9c492845d1c68f5db61eda7284cf Mon Sep 17 00:00:00 2001 From: Mesbah Alam Date: Mon, 24 Apr 2023 11:27:23 -0400 Subject: [PATCH] Don't refer to JENKINS_KEY on z/OS --- buildenv/jenkins/JenkinsfileBase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildenv/jenkins/JenkinsfileBase b/buildenv/jenkins/JenkinsfileBase index 3c581a94e5..5a1df3cf7d 100644 --- a/buildenv/jenkins/JenkinsfileBase +++ b/buildenv/jenkins/JenkinsfileBase @@ -899,7 +899,7 @@ def testExecution() { } else { buildTest() } - if( env.BUILD_LIST.startsWith('jck')) { + if(env.BUILD_LIST.startsWith('jck') && !env.SPEC.startsWith('zos')) { sshagent(credentials:["${params.JENKINS_KEY}"], ignoreMissing: true) { runTest() }