Jenkins CI Issues Running Gradle Test

Hello. I am doing some work to update my plugin to support more recent versions of IJ. I am seeing this error in my Jenkins CI but not locally when executing the build/tests. Any ideas as to what may be causing the discrepancy?

IntelliJ Platform Plugin Version: 2.6.0

Gradle Version: 8.13

Target IJ Version: 2025.2

21:01:22  * What went wrong:
21:01:22  Execution failed for task ':projectName:test'.
21:01:22  > Error while evaluating property 'javaLauncher' of task ':projectName:test'.
21:01:22     > Failed to calculate the value of task ':projectName:test' property 'javaLauncher'.
21:01:22        > Failed to query the value of task ':projectName:prepareTest' property 'runtimeMetadata'.
21:01:22           > Process 'command '/home/jenkins/.gradle/caches/transforms-3/2afb823b17f007b707b2c24c8851786a/transformed/ideaIC-2025.2/jbr/bin/java'' finished with non-zero exit value 6

When running the command with the stacktrace flag I see this as a root cause:

Caused by: org.gradle.process.internal.ExecException: Process ‘command ‘/home/jenkins/.gradle/caches/transforms-3/2afb823b17f007b707b2c24c8851786a/transformed/ideaIC-2025.2/jbr/bin/java’’ finished with non-zero exit value 6

Hello,

IntelliJ Platform Gradle Plugin 2.6.0 is more than 6 months old. I suggest upgrading to the most recent version and retrying.

I think it was actually due to the jenkins image OS not having some necessary dependencies. Updating from an AL2 → AL2023 base image got me past my issue.

I will also look at updating my gradle plugin version.