Started by an SCM change Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/BuildTools/workspace No JDK named ‘java-1.11.0-openjdk-amd64’ found The recommended git tool is: NONE No credentials specified No JDK named ‘java-1.11.0-openjdk-amd64’ found Fetching changes from the remote Git repository > JGit fetch # timeout=10 No JDK named ‘java-1.11.0-openjdk-amd64’ found Checking out Revision 432456cf80f0a87ec2345d7515494d1ddc8bcdcd (refs/remotes/origin/master) Commit message: "BUILDTOOLS-622: Fix building versions older than 1.8.8" No JDK named ‘java-1.11.0-openjdk-amd64’ found No JDK named ‘java-1.11.0-openjdk-amd64’ found Parsing POMs Established TCP socket on 33037 [workspace] $ java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.13.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3/boot/plexus-classworlds-2.6.0.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3 /var/cache/jenkins/war/WEB-INF/lib/remoting-4.11.2.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.13.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.13.jar 33037 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/BuildTools/workspace/pom.xml clean install -Dbuild.number=145 [INFO] Scanning for projects... [INFO] [INFO] ------------------------< org.spigotmc:builder >------------------------ [INFO] Building BuildTools 1.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ builder --- [INFO] Deleting /var/lib/jenkins/jobs/BuildTools/workspace/target [INFO] [INFO] --- scriptus:0.4.1:describe (default) @ builder --- [INFO] Set property "describe" to "git-BuildTools-432456c-145" [INFO] Set property "project.build.outputTimestamp" to "1643441566" [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ builder --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/BuildTools/workspace/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ builder --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 7 source files to /var/lib/jenkins/jobs/BuildTools/workspace/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [INFO] 1 error [INFO] ------------------------------------------------------------- [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.156 s [INFO] Finished at: 2022-01-29T07:33:17Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project builder: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException channel stopped No JDK named ‘java-1.11.0-openjdk-amd64’ found Archiving artifacts Finished: FAILURE