Skip to content
Failed

Console Output

Started by user fullwall
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/CitizensAPI/workspace
No JDK named ‘OpenJDK 17’ found
The recommended git tool is: NONE
No credentials specified
Wiping out workspace first.
No JDK named ‘OpenJDK 17’ found
Cloning the remote Git repository
Cloning repository https://github.com/CitizensDev/CitizensAPI.git
 > git init /var/lib/jenkins/jobs/CitizensAPI/workspace # timeout=10
Fetching upstream changes from https://github.com/CitizensDev/CitizensAPI.git
 > git --version # timeout=10
 > git --version # 'git version 2.43.5'
 > git fetch --tags --force --progress -- https://github.com/CitizensDev/CitizensAPI.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/CitizensDev/CitizensAPI.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Seen branch in repository origin/compat
Seen branch in repository origin/master
Seen branch in repository origin/simplify
Seen branch in repository origin/speech
Seen 4 remote branches
 > git show-ref --tags -d # timeout=10
No JDK named ‘OpenJDK 17’ found
Checking out Revision 4d7abd1a5b35999bfab033eb6150e454290f7ee3 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4d7abd1a5b35999bfab033eb6150e454290f7ee3 # timeout=10
Commit message: "Try to avoid saving metas for every item, more BODY compat"
 > git rev-list --no-walk 99cb314dae5551ed13224cf600f729c9092393f4 # timeout=10
 > git tag -a -f -m Jenkins Build #1163 jenkins-CitizensAPI-1163 # timeout=10
No JDK named ‘OpenJDK 17’ found
false
No JDK named ‘OpenJDK 17’ found
Parsing POMs
Downloaded artifact https://maven.enginehub.org/repo/org/spigotmc/spigot-api/1.21.1-R0.1-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.21.1-R0.1-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/org/spigotmc/spigot-api/1.16.2-R0.1-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find metadata com.sk89q.worldedit:worldedit-bukkit:7.2.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-bukkit/7.2.0-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find metadata com.sk89q.worldedit:worldedit-core:7.2.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-core/7.2.0-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find metadata com.sk89q.worldedit.worldedit-libs:core:7.2.0-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://maven.enginehub.org/repo/com/sk89q/worldedit/worldedit-libs/core/7.2.0-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find metadata org.bukkit:bukkit:1.13.1-R0.1-SNAPSHOT/maven-metadata.xml in sk89q-repo (https://maven.enginehub.org/repo/)
Failed to transfer Could not find metadata org.bukkit:bukkit:1.13.1-R0.1-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/)
Downloaded artifact https://hub.spigotmc.org/nexus/content/groups/public/org/bukkit/bukkit/1.13.1-R0.1-SNAPSHOT/maven-metadata.xml
Modules changed, recalculating dependency graph
Established TCP socket on 39881
[workspace] $ java -Djava.awt.headless=true -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0/boot/plexus-classworlds-2.6.0.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.0 /var/cache/jenkins/war/WEB-INF/lib/remoting-3256.3258.v858f3c9a_f69d.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 39881
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml clean install javadoc:javadoc
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< net.citizensnpcs:citizensapi >--------------------
[INFO] Building CitizensAPI 2.0.35-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ citizensapi ---
[INFO] 
[INFO] --- resources:3.3.0:resources (default-resources) @ citizensapi ---
[INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/resources
[INFO] 
[INFO] --- compiler:3.11.0:compile (default-compile) @ citizensapi ---
[INFO] Changes detected - recompiling the module! :source
[INFO] Compiling 246 source files with javac [debug release 8] to target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.951 s
[INFO] Finished at: 2024-08-12T02:30:39Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project citizensapi: Fatal error compiling: error: release version 8 not supported -> [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/MojoExecutionException
[JENKINS] Archiving /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml to net.citizensnpcs/citizensapi/2.0.35-SNAPSHOT/citizensapi-2.0.35-SNAPSHOT.pom
Copying /var/lib/jenkins/jobs/CitizensAPI/workspace@tmp/maven-reporters/project to /var/lib/jenkins/jobs/CitizensAPI/modules/net.citizensnpcs$citizensapi
channel stopped
No JDK named ‘OpenJDK 17’ found
Archiving artifacts
No JDK named ‘OpenJDK 17’ found
No JDK named ‘OpenJDK 17’ found
No JDK named ‘OpenJDK 17’ found
No JDK named ‘OpenJDK 17’ found
No JDK named ‘OpenJDK 17’ found
[Set GitHub commit status (universal)] ERROR on repos [GHRepository@2c19aa3[archived=false,commits={},compareUsePaginatedCommits=false,description=API for Citizens,disabled=false,fork=false,homepage=https://citizensnpcs.co,isTemplate=false,language=Java,milestones={},name=CitizensAPI,nodeId=MDEwOlJlcG9zaXRvcnkzMzQzMTkw,parent=<null>,size=11998,source=<null>,visibility=public,createdAt=2012-02-03T09:29:38Z,id=3343190,nodeId=<null>,updatedAt=2024-08-12T02:06:41Z,url=https://api.github.com/repos/CitizensDev/CitizensAPI]] (sha:4d7abd1) with context:ci/jenkins/build-status
Setting commit status on GitHub for https://github.com/CitizensDev/CitizensAPI/commit/4d7abd1a5b35999bfab033eb6150e454290f7ee3
No JDK named ‘OpenJDK 17’ found
Sending notification to Discord.
Finished: FAILURE