Skip to content

Commit

Permalink
Use JDK17 with --release 8 to compile mauve tests
Browse files Browse the repository at this point in the history
- Update the build setup to use JDK17 with the `--release 8` option for compiling mauve tests, ensuring compatibility with Java 8.
- Test is done by cloning the `aqa-systemtest` repository using the following command:
  `git clone --branch master --single-branch https://github.com/fridrich/aqa-systemtest.git`

related: eclipse-openj9/openj9#19888

Signed-off-by: Anna Babu Palathingal <[email protected]>
  • Loading branch information
annaibm committed Nov 15, 2024
1 parent 61bfd55 commit a52e28a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions buildenv/jenkins/getDependency
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ def testBuild() {
timeout(time: time_limit, unit: 'HOURS') {
try {
if( params.BUILD_TYPE == "systemtest" ){
sh 'curl -OLJks "https://api.adoptopenjdk.net/v3/binary/latest/8/ga/linux/x64/jdk/hotspot/normal/adoptopenjdk"'
sh 'curl -OLJks "https://api.adoptopenjdk.net/v3/binary/latest/17/ga/linux/x64/jdk/hotspot/normal/adoptopenjdk"'
sh 'mkdir ${WORKSPACE}/j2sdk-image'
sh 'tar -xzf OpenJDK8U-jdk_x64_linux_hotspot*.gz -C ${WORKSPACE}/j2sdk-image --strip-components 1'
sh '${WORKSPACE}/j2sdk-image/jre/bin/java -version'
sh 'tar -xzf OpenJDK17U-jdk_x64_linux_hotspot*.gz -C ${WORKSPACE}/j2sdk-image --strip-components 1'
sh '${WORKSPACE}/j2sdk-image/bin/java -version'
sh 'git clone https://github.com/adoptium/aqa-systemtest'
sh 'git clone https://github.com/adoptium/STF'
sh 'ant -f ./aqa-systemtest/openjdk.build/build.xml -Djava.home=${WORKSPACE}/j2sdk-image/jre -Dprereqs_root=${WORKSPACE}/systemtest_prereqs configure'
sh 'ant -f ./aqa-systemtest/openjdk.test.mauve/build.xml -Djava.home=${WORKSPACE}/j2sdk-image/jre -Dprereqs_root=${WORKSPACE}/systemtest_prereqs configure'
sh 'ant -f ./aqa-systemtest/openjdk.build/build.xml -Djava.home=${WORKSPACE}/j2sdk-image -Dprereqs_root=${WORKSPACE}/systemtest_prereqs configure'
sh 'ant -f ./aqa-systemtest/openjdk.test.mauve/build.xml -Djava.home=${WORKSPACE}/j2sdk-image -Dprereqs_root=${WORKSPACE}/systemtest_prereqs configure'
archiveArtifacts '**/systemtest_prereqs/cvsclient/org-netbeans-lib-cvsclient.jar'
archiveArtifacts '**/systemtest_prereqs/mauve/mauve.jar'
archiveArtifacts '**/systemtest_prereqs/junit/junit.jar'
Expand Down

0 comments on commit a52e28a

Please sign in to comment.