Established TCP socket on 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