Skip to content

Commit

Permalink
[v1.0.2-release] Cherry pick unsetting library path on Alpine (#5433)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroon-Khel authored Jul 12, 2024
1 parent 4d98ebd commit ea2453e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildenv/jenkins/JenkinsfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def makeTest(testParam) {
// Note: keyword source cannot be used in Jenkins script. Therefore, using "." instead.
String makeTestCmd = "$RESOLVED_MAKE;cd ./aqa-tests; . ./scripts/testenv/testenvSettings.sh;cd ./TKG; \$MAKE $testParam"
//unset LD_LIBRARY_PATH workaround for issue https://github.com/adoptium/infrastructure/issues/2934
if (JDK_IMPL == 'hotspot' && JDK_VERSION == '8' && PLATFORM.contains('alpine-linux')) {
if (JDK_IMPL == 'hotspot' && PLATFORM.contains('alpine-linux')) {
makeTestCmd = "unset LD_LIBRARY_PATH; $makeTestCmd"
}
try {
Expand Down Expand Up @@ -321,7 +321,7 @@ def setupParallelEnv() {
def genParallelList(PARALLEL_OPTIONS) {
String unsetLLP = ""
//unset LD_LIBRARY_PATH workaround for issue https://github.com/adoptium/infrastructure/issues/2934
if (JDK_IMPL == 'hotspot' && JDK_VERSION == '8' && PLATFORM.contains('alpine-linux')) {
if (JDK_IMPL == 'hotspot' && PLATFORM.contains('alpine-linux')) {
unsetLLP = "unset LD_LIBRARY_PATH;"
}
sh "cd ./aqa-tests/TKG; ${unsetLLP} make genParallelList ${PARALLEL_OPTIONS}"
Expand Down Expand Up @@ -614,7 +614,7 @@ def get_sources() {
def makeCompileTest(){
String makeTestCmd = "bash ./compile.sh"
//unset LD_LIBRARY_PATH workaround for issue https://github.com/adoptium/infrastructure/issues/2934
if (JDK_IMPL == 'hotspot' && JDK_VERSION == '8' && PLATFORM.contains('alpine-linux')) {
if (JDK_IMPL == 'hotspot' && PLATFORM.contains('alpine-linux')) {
makeTestCmd = "unset LD_LIBRARY_PATH; $makeTestCmd"
}
dir('aqa-tests') {
Expand Down

0 comments on commit ea2453e

Please sign in to comment.