From 33c6723c8512baf2fc6db2688082f652a7bff9de Mon Sep 17 00:00:00 2001 From: Adam Brousseau Date: Wed, 13 Feb 2019 19:16:37 -0500 Subject: [PATCH] Initialize TEST_FLAG to blank - Avoid Jenkins error trying to pass parameter with null value [skip ci] Signed-off-by: Adam Brousseau --- buildenv/jenkins/common/pipeline-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildenv/jenkins/common/pipeline-functions b/buildenv/jenkins/common/pipeline-functions index 7da66f628e7..6cdee62182f 100644 --- a/buildenv/jenkins/common/pipeline-functions +++ b/buildenv/jenkins/common/pipeline-functions @@ -380,7 +380,7 @@ def workflow(SDK_VERSION, SPEC, SHAS, OPENJDK_REPO, OPENJDK_BRANCH, OPENJ9_REPO, echo "Using ARTIFACTORY_SERVER:'${ARTIFACTORY_SERVER}'" } for (name in TARGET_NAMES) { - def TEST_FLAG + def TEST_FLAG = '' if (name.contains('+jitaas')) { name -= '+jitaas' TEST_FLAG = 'JITAAS'