Skip to content

Commit

Permalink
Fix LIBPATH on Jenkins pipeline on z/OS
Browse files Browse the repository at this point in the history
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 eclipse-omr#4761.

Signed-off-by: Filip Jeremic <fjeremic@ca.ibm.com>
  • Loading branch information
fjeremic committed Jan 26, 2020
1 parent 778d224 commit 624a4e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buildenv/jenkins/jobs/builds/Build-zos_390-64
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
2 changes: 1 addition & 1 deletion buildenv/jenkins/jobs/pull-requests/PullRequest-zos_390-64
Original file line number Diff line number Diff line change
@@ -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') {
Expand Down

0 comments on commit 624a4e2

Please sign in to comment.