Started by GitHub push by mcmonkey4eva Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/Sentinel/workspace No JDK named ‘OpenJDK 17’ found The recommended git tool is: NONE No credentials specified No JDK named ‘OpenJDK 17’ found > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/Sentinel/workspace/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/mcmonkeyprojects/Sentinel.git # timeout=10 Fetching upstream changes from https://github.com/mcmonkeyprojects/Sentinel.git > git --version # timeout=10 > git --version # 'git version 2.39.3' > git fetch --tags --force --progress -- https://github.com/mcmonkeyprojects/Sentinel.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/master^{commit} # timeout=10 No JDK named ‘OpenJDK 17’ found Checking out Revision b0941a7d28e465bee260fc538e315e04d94e8be6 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f b0941a7d28e465bee260fc538e315e04d94e8be6 # timeout=10 Commit message: "CrackShot: consider guns as ranged weapons for autoswitch" > git rev-list --no-walk 83cb3e49126fa7ab3f2ed6818301b5843cee7f46 # timeout=10 > git tag -a -f -m Jenkins Build #519 jenkins-Sentinel-519 # timeout=10 No JDK named ‘OpenJDK 17’ found false No JDK named ‘OpenJDK 17’ found Parsing POMs Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.20.4-R0.1-SNAPSHOT/maven-metadata.xml in citizens-repo (https://maven.citizensnpcs.co/repo) Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.20.4-R0.1-SNAPSHOT/maven-metadata.xml in FreneticLLC-public (https://maven.freneticllc.com/) Downloaded artifact https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizens-main/2.0.33-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata net.citizensnpcs:citizens-main:2.0.33-SNAPSHOT/maven-metadata.xml in FreneticLLC-public (https://maven.freneticllc.com/) Downloaded artifact https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizens-parent/2.0.33-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata net.citizensnpcs:citizens-parent:2.0.33-SNAPSHOT/maven-metadata.xml in FreneticLLC-public (https://maven.freneticllc.com/) Failed to transfer Could not find metadata net.citizensnpcs:citizens-parent:2.0.33-SNAPSHOT/maven-metadata.xml in sk89q-repo (https://maven.enginehub.org/repo/) Failed to transfer Could not find metadata net.citizensnpcs:citizens-parent:2.0.33-SNAPSHOT/maven-metadata.xml in spigot-repo (https://hub.spigotmc.org/nexus/content/repositories/snapshots/) Failed to transfer Could not find metadata net.citizensnpcs:citizens-parent:2.0.33-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/) Failed to transfer Could not find metadata net.citizensnpcs:citizens-parent:2.0.33-SNAPSHOT/maven-metadata.xml in dmulloy2-repo (https://repo.dmulloy2.net/repository/public/) Failed to transfer Could not find metadata net.citizensnpcs:citizens-parent:2.0.33-SNAPSHOT/maven-metadata.xml in AlessioDP (https://repo.alessiodp.com/releases/) Downloaded artifact https://maven.citizensnpcs.co/repo/net/citizensnpcs/citizensapi/2.0.33-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata net.citizensnpcs:citizensapi:2.0.33-SNAPSHOT/maven-metadata.xml in FreneticLLC-public (https://maven.freneticllc.com/) Failed to transfer Could not find metadata net.citizensnpcs:citizensapi:2.0.33-SNAPSHOT/maven-metadata.xml in placeholderapi (https://repo.extendedclip.com/content/repositories/placeholderapi/) Failed to transfer Could not find metadata net.citizensnpcs:citizensapi:2.0.33-SNAPSHOT/maven-metadata.xml in spigot-repo (https://hub.spigotmc.org/nexus/content/repositories/snapshots/) Failed to transfer Could not find metadata net.citizensnpcs:citizensapi:2.0.33-SNAPSHOT/maven-metadata.xml in sk89q-repo (https://maven.enginehub.org/repo/) Failed to transfer Could not find metadata net.citizensnpcs:citizensapi:2.0.33-SNAPSHOT/maven-metadata.xml in dmulloy2-repo (https://repo.dmulloy2.net/repository/public/) Failed to transfer Could not find metadata net.citizensnpcs:citizensapi:2.0.33-SNAPSHOT/maven-metadata.xml in AlessioDP (https://repo.alessiodp.com/releases/) Failed to transfer Could not find metadata org.json:json/maven-metadata.xml in citizens-repo (https://maven.citizensnpcs.co/repo) Failed to transfer Could not find metadata org.json:json/maven-metadata.xml in FreneticLLC-public (https://maven.freneticllc.com/) Downloaded artifact https://repo.maven.apache.org/maven2/org/json/json/maven-metadata.xml Established TCP socket on 37405 [workspace] $ java -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-3206.vb_15dcf73f6a_9.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 37405 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/Sentinel/workspace/pom.xml clean package install javadoc:javadoc -DBUILD_NUMBER=519 [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.mcmonkey:sentinel:jar:2.8.1-SNAPSHOT [WARNING] 'dependencies.dependency.version' for org.json:json:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 58, column 22 [WARNING] 'dependencies.dependency.systemPath' for net.milkbowl.vault:Vault:jar should not point at files within the project directory, ${project.basedir}/lib/Vault.jar will be unresolvable by dependent projects @ line 67, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.tommytony:war:jar should not point at files within the project directory, ${project.basedir}/lib/war.jar will be unresolvable by dependent projects @ line 76, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.palmergames.bukkit:towny:jar should not point at files within the project directory, ${project.basedir}/lib/towny.jar will be unresolvable by dependent projects @ line 84, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.massivecraft:factions:jar should not point at files within the project directory, ${basedir}/lib/Factions.jar will be unresolvable by dependent projects @ line 91, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.massivecraft:massivecore:jar should not point at files within the project directory, ${basedir}/lib/MassiveCore.jar will be unresolvable by dependent projects @ line 98, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.shampaggon:crackshot:jar should not point at files within the project directory, ${basedir}/lib/CrackShot.jar will be unresolvable by dependent projects @ line 105, column 25 [WARNING] 'dependencies.dependency.systemPath' for net.sacredlabyrinth.phaed.simpleclans:SimpleClans:jar should not point at files within the project directory, ${basedir}/lib/SimpleClans.jar will be unresolvable by dependent projects @ line 112, column 25 [WARNING] 'dependencies.dependency.systemPath' for simplepets.brainsynder:SimplePets:jar should not point at files within the project directory, ${basedir}/lib/SimplePets.jar will be unresolvable by dependent projects @ line 119, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.sk89q:WorldEdit:jar should not point at files within the project directory, ${basedir}/lib/WorldEdit.jar will be unresolvable by dependent projects @ line 126, column 25 [WARNING] 'dependencies.dependency.systemPath' for com.sk89q:WorldGuard:jar should not point at files within the project directory, ${basedir}/lib/WorldGuard.jar will be unresolvable by dependent projects @ line 133, column 25 [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] -----------------------< org.mcmonkey:sentinel >------------------------ [INFO] Building Sentinel 2.8.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ sentinel --- [INFO] Deleting /var/lib/jenkins/jobs/Sentinel/workspace/target [INFO] [INFO] --- resources:3.3.0:resources (default-resources) @ sentinel --- [INFO] Copying 2 resources [INFO] [INFO] --- compiler:2.3.2:compile (default-compile) @ sentinel --- [INFO] Compiling 49 source files to /var/lib/jenkins/jobs/Sentinel/workspace/target/classes [INFO] [INFO] --- resources:3.3.0:testResources (default-testResources) @ sentinel --- [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/Sentinel/workspace/src/test/resources [INFO] [INFO] --- compiler:2.3.2:testCompile (default-testCompile) @ sentinel --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.0.0-M8:test (default-test) @ sentinel --- [INFO] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- jar:3.1.0:jar (default-jar) @ sentinel --- [WARNING] Parameter 'finalName' is read-only, must not be used in configuration [INFO] Building jar: /var/lib/jenkins/jobs/Sentinel/workspace/target/Sentinel-2.8.1-SNAPSHOT-b519.jar [INFO] [INFO] --- shade:3.2.0:shade (default) @ sentinel --- [INFO] Including com.freneticllc.freneticutilities:freneticdatasyntax:jar:1.1 in the shaded jar. [INFO] Including org.json:json:jar:20240303 in the shaded jar. [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/Sentinel/workspace/target/Sentinel-2.8.1-SNAPSHOT-b519.jar with /var/lib/jenkins/jobs/Sentinel/workspace/target/sentinel-2.8.1-SNAPSHOT-shaded.jar [INFO] Dependency-reduced POM written at: /var/lib/jenkins/jobs/Sentinel/workspace/dependency-reduced-pom.xml [INFO] [INFO] --- resources:3.3.0:resources (default-resources) @ sentinel --- [INFO] Copying 2 resources [INFO] [INFO] --- compiler:2.3.2:compile (default-compile) @ sentinel --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- resources:3.3.0:testResources (default-testResources) @ sentinel --- [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/Sentinel/workspace/src/test/resources [INFO] [INFO] --- compiler:2.3.2:testCompile (default-testCompile) @ sentinel --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.0.0-M8:test (default-test) @ sentinel --- [INFO] No tests to run. [INFO] Skipping execution of surefire because it has already been run for this configuration [JENKINS] Recording test results [INFO] [INFO] --- jar:3.1.0:jar (default-jar) @ sentinel --- [WARNING] Parameter 'finalName' is read-only, must not be used in configuration [INFO] Building jar: /var/lib/jenkins/jobs/Sentinel/workspace/target/Sentinel-2.8.1-SNAPSHOT-b519.jar [INFO] [INFO] --- shade:3.2.0:shade (default) @ sentinel --- [INFO] Including com.freneticllc.freneticutilities:freneticdatasyntax:jar:1.1 in the shaded jar. [INFO] Including org.json:json:jar:20240303 in the shaded jar. [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/Sentinel/workspace/target/Sentinel-2.8.1-SNAPSHOT-b519.jar with /var/lib/jenkins/jobs/Sentinel/workspace/target/sentinel-2.8.1-SNAPSHOT-shaded.jar [INFO] Dependency-reduced POM written at: /var/lib/jenkins/jobs/Sentinel/workspace/dependency-reduced-pom.xml [INFO] [INFO] --- install:3.1.0:install (default-install) @ sentinel --- [INFO] Installing /var/lib/jenkins/jobs/Sentinel/workspace/dependency-reduced-pom.xml to /var/lib/jenkins/.m2/repository/org/mcmonkey/sentinel/2.8.1-SNAPSHOT/sentinel-2.8.1-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/jobs/Sentinel/workspace/target/Sentinel-2.8.1-SNAPSHOT-b519.jar to /var/lib/jenkins/.m2/repository/org/mcmonkey/sentinel/2.8.1-SNAPSHOT/sentinel-2.8.1-SNAPSHOT.jar [INFO] [INFO] >>> javadoc:2.9:javadoc (default-cli) > generate-sources @ sentinel >>> [WARNING] Failed to getClass for org.apache.maven.plugin.javadoc.JavadocReport [INFO] [INFO] <<< javadoc:2.9:javadoc (default-cli) < generate-sources @ sentinel <<< [INFO] [INFO] [INFO] --- javadoc:2.9:javadoc (default-cli) @ sentinel --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.972 s [INFO] Finished at: 2024-05-11T17:18:33Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:javadoc (default-cli) on project sentinel: An error has occurred in JavaDocs report generation: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set. -> [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/Sentinel/workspace/dependency-reduced-pom.xml to org.mcmonkey/sentinel/2.8.1-SNAPSHOT/sentinel-2.8.1-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/Sentinel/workspace/target/Sentinel-2.8.1-SNAPSHOT-b519.jar to org.mcmonkey/sentinel/2.8.1-SNAPSHOT/sentinel-2.8.1-SNAPSHOT.jar Copying /var/lib/jenkins/jobs/Sentinel/workspace@tmp/maven-reporters/project to /var/lib/jenkins/jobs/Sentinel/modules/org.mcmonkey$sentinel 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@3eb8c21d[archived=false,commits={},compareUsePaginatedCommits=false,description=Combat NPCs for Spigot!,disabled=false,fork=false,homepage=,isTemplate=false,language=Java,milestones={},name=Sentinel,nodeId=MDEwOlJlcG9zaXRvcnk1NDgyNTQ5NA==,parent=,size=16658,source=,visibility=public,createdAt=2016-03-27T11:34:01Z,id=54825494,nodeId=,updatedAt=2024-05-11T17:18:03Z,url=https://api.github.com/repos/mcmonkeyprojects/Sentinel]] (sha:b0941a7) with context:ci/jenkins/build-status Setting commit status on GitHub for https://github.com/mcmonkeyprojects/Sentinel/commit/b0941a7d28e465bee260fc538e315e04d94e8be6 No JDK named ‘OpenJDK 17’ found Sending notification to Discord. Finished: FAILURE