From f1065baf5861e84b4ebb29f4b1f1ffd70d7ed9aa Mon Sep 17 00:00:00 2001 From: Filip Jeremic Date: Thu, 23 Jan 2020 16:08:31 -0500 Subject: [PATCH] Fix LIBPATH on Jenkins pipeline on z/OS Currently due to a limitation of the z/OS CMake port we require to specify an explicit `LIBPATH` so that the various tests which dynamically load DLLs can find them. Once CMake is fixed to properly generate the dynamic libraries in the correct directories setting of the `LIBPATH` environment variable should be removed. See #4761. Signed-off-by: Filip Jeremic --- buildenv/jenkins/jobs/builds/Build-zos_390-64 | 2 +- buildenv/jenkins/jobs/pull-requests/PullRequest-zos_390-64 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildenv/jenkins/jobs/builds/Build-zos_390-64 b/buildenv/jenkins/jobs/builds/Build-zos_390-64 index 23f140a4030..fc74ed8715c 100644 --- a/buildenv/jenkins/jobs/builds/Build-zos_390-64 +++ b/buildenv/jenkins/jobs/builds/Build-zos_390-64 @@ -13,7 +13,7 @@ def setBuildStatus(String message, String state, String sha) { pipeline { agent{label 'zOS && 390'} environment { - LIBPATH=".:$LIBPATH" + LIBPATH="/openzdk/jenkins/workspace/Build-zos_390-64/build:$LIBPATH" } stages { stage('Get Sources') { diff --git a/buildenv/jenkins/jobs/pull-requests/PullRequest-zos_390-64 b/buildenv/jenkins/jobs/pull-requests/PullRequest-zos_390-64 index 97136533b50..1d12d6863b8 100644 --- a/buildenv/jenkins/jobs/pull-requests/PullRequest-zos_390-64 +++ b/buildenv/jenkins/jobs/pull-requests/PullRequest-zos_390-64 @@ -1,7 +1,7 @@ pipeline { agent{label 'zOS && 390'} environment { - LIBPATH=".:$LIBPATH" + LIBPATH="/openzdk/jenkins/workspace/PullRequest-zos_390-64/build:$LIBPATH" } stages { stage('Get Sources') {