Skip to content

Commit

Permalink
Ensure that Jenkins node setup does not influence the container Java …
Browse files Browse the repository at this point in the history
…setup
  • Loading branch information
dduportal authored Jan 28, 2025
1 parent ea72d04 commit 8334337
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,11 @@ for (int i = 0; i < splits.size(); i++) {
) {
sh """
set-java.sh ${jdk}
# Ensure that Jenkins node setup does not influence the container java setup
unset JAVA_HOME
eval \$(vnc.sh)
java -version
mvn -v
run.sh ${browser} ${jenkinsVersion} -Dmaven.repo.local=${WORKSPACE_TMP}/m2repo -Dmaven.test.failure.ignore=true -Dcsp.rule=${cspRule} -DforkCount=1 -B
cp --verbose target/surefire-reports/TEST-*.xml /reports
"""
Expand Down

0 comments on commit 8334337

Please sign in to comment.