Skip to content

Commit

Permalink
Initialize TEST_FLAG to blank
Browse files Browse the repository at this point in the history
- Avoid Jenkins error trying to pass parameter with null value

[skip ci]

Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
  • Loading branch information
AdamBrousseau committed Feb 14, 2019
1 parent 89b3927 commit 33c6723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildenv/jenkins/common/pipeline-functions
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 33c6723

Please sign in to comment.