Console Output

Started by an SCM change
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/BuildTools/workspace
The recommended git tool is: NONE
No credentials specified
Fetching changes from the remote Git repository
Checking out Revision 3d9a383eece58e088f3f530a76f3577b95778c4f (refs/remotes/origin/master)
Commit message: "Add support for building Spigot 1.18-pre5"
Parsing POMs
Established TCP socket on 39077
[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.10.1.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 39077
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/jobs/BuildTools/workspace/pom.xml clean install -Dbuild.number=133
[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-3d9a383-133"
[INFO] Set property "project.build.outputTimestamp" to "1637532000"
[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] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.144 s
[INFO] Finished at: 2021-11-21T23:45:18Z
[INFO] ------------------------------------------------------------------------
[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?
Waiting for Jenkins to finish collecting data[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
[JENKINS] Archiving /var/lib/jenkins/jobs/BuildTools/workspace/pom.xml to org.spigotmc/builder/1.0-SNAPSHOT/builder-1.0-SNAPSHOT.pom
channel stopped
Archiving artifacts
Finished: FAILURE