Started by GitHub push by fullwall Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/CitizensAPI/workspace No credentials specified Wiping out workspace first. Cloning the remote Git repository Cloning repository git://github.com/CitizensDev/CitizensAPI.git > git init /var/lib/jenkins/jobs/CitizensAPI/workspace # timeout=10 Fetching upstream changes from git://github.com/CitizensDev/CitizensAPI.git > git --version # timeout=10 > git fetch --tags --progress git://github.com/CitizensDev/CitizensAPI.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://github.com/CitizensDev/CitizensAPI.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://github.com/CitizensDev/CitizensAPI.git # timeout=10 Fetching upstream changes from git://github.com/CitizensDev/CitizensAPI.git > git fetch --tags --progress git://github.com/CitizensDev/CitizensAPI.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Checking out Revision 6d19e23e447ace70e736f89e018999001da1eb43 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6d19e23e447ace70e736f89e018999001da1eb43 # timeout=10 Commit message: "Update max name lengths" > git rev-list --no-walk 6084f58585596059f0aef6e04364e2e41fd9c6b9 # timeout=10 > git tag -a -f -m Jenkins Build #684 jenkins-CitizensAPI-684 # timeout=10 false xasfewrhet Parsing POMs Established TCP socket on 37098 [workspace] $ /var/lib/jenkins/tools/hudson.model.JDK/JDK8/bin/java -Djava.awt.headless=true -Djava.awt.headless=true -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.6.3/boot/plexus-classworlds-2.6.0.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3 /var/cache/jenkins/war/WEB-INF/lib/remoting-4.3.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 37098 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml -amd -pl net.citizensnpcs:citizensapi clean install javadoc:javadoc [INFO] Scanning for projects... [INFO] [INFO] --------------------< net.citizensnpcs:citizensapi >-------------------- [INFO] Building CitizensAPI 2.0.27-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ citizensapi --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ citizensapi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ citizensapi --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 234 source files to /var/lib/jenkins/jobs/CitizensAPI/workspace/target/classes [INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/Path.java: Some input files use or override a deprecated API. [INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/Path.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ citizensapi --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/CitizensAPI/workspace/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ citizensapi --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /var/lib/jenkins/jobs/CitizensAPI/workspace/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ citizensapi --- [INFO] Surefire report directory: /var/lib/jenkins/jobs/CitizensAPI/workspace/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running net.citizensnpcs.api.persistence.PersistenceLoaderTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.265 sec Running net.citizensnpcs.api.ai.SimpleGoalControllerTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec Running net.citizensnpcs.api.ai.BehaviorTreeTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Results : Tests run: 18, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ citizensapi --- [INFO] Building jar: /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.27-SNAPSHOT.jar [INFO] [INFO] --- maven-source-plugin:3.2.0:jar-no-fork (bundle-sources) @ citizensapi --- [INFO] Building jar: /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.27-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ citizensapi --- [INFO] Installing /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.27-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/net/citizensnpcs/citizensapi/2.0.27-SNAPSHOT/citizensapi-2.0.27-SNAPSHOT.jar [INFO] Installing /var/lib/jenkins/jobs/CitizensAPI/workspace/pom.xml to /var/lib/jenkins/.m2/repository/net/citizensnpcs/citizensapi/2.0.27-SNAPSHOT/citizensapi-2.0.27-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/jobs/CitizensAPI/workspace/target/citizensapi-2.0.27-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/net/citizensnpcs/citizensapi/2.0.27-SNAPSHOT/citizensapi-2.0.27-SNAPSHOT-sources.jar [INFO] [INFO] >>> maven-javadoc-plugin:3.1.1:javadoc (default-cli) > generate-sources @ citizensapi >>> [WARNING] Failed to getClass for org.apache.maven.plugins.javadoc.JavadocReport [INFO] [INFO] <<< maven-javadoc-plugin:3.1.1:javadoc (default-cli) < generate-sources @ citizensapi <<< [INFO] [INFO] [INFO] --- maven-javadoc-plugin:3.1.1:javadoc (default-cli) @ citizensapi --- Build was aborted ERROR: Build step failed with exception [WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@4cdf35a9:channel": Remote call on channel failed. The channel is closing down or has closed down [WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@4cdf35a9:channel": Remote call on channel failed. The channel is closing down or has closed down channel stopped [WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: javax/servlet/http/HttpServletRequest [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong. at jenkins.model.Jenkins.get(Jenkins.java:777) at hudson.model.AbstractBuild.getBuiltOn(AbstractBuild.java:210) at hudson.model.AbstractBuild.getWorkspace(AbstractBuild.java:284) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1074) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1905) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428) FATAL: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong. java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong. at jenkins.model.Jenkins.get(Jenkins.java:777) at hudson.plugins.git.GitChangeSet.getGitSCMDescriptor(GitChangeSet.java:519) at hudson.plugins.git.GitChangeSet.isCreateAccountBasedOnEmail(GitChangeSet.java:503) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:538) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:137) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:95) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1905) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428) ERROR: Build step failed with exception java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong. at jenkins.model.Jenkins.get(Jenkins.java:777) at hudson.model.AbstractProject.getJDK(AbstractProject.java:883) at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:338) at hudson.model.Run.getEnvironment(Run.java:2410) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:864) at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:57) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:168) at nz.co.jammehcow.jenkinsdiscord.WebhookPublisher.perform(WebhookPublisher.java:175) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.cleanUp(MavenModuleSetBuild.java:1099) at hudson.model.Run.execute(Run.java:1927) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428) FATAL: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong. java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong. at jenkins.model.Jenkins.get(Jenkins.java:777) at hudson.tasks.Publisher.getDescriptor(Publisher.java:124) at hudson.tasks.Notifier.getDescriptor(Notifier.java:51) at nz.co.jammehcow.jenkinsdiscord.WebhookPublisher.getDescriptor(WebhookPublisher.java:286) at nz.co.jammehcow.jenkinsdiscord.WebhookPublisher.getDescriptor(WebhookPublisher.java:31) at hudson.model.AbstractBuild$AbstractBuildExecution.reportError(AbstractBuild.java:709) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:698) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.cleanUp(MavenModuleSetBuild.java:1099) at hudson.model.Run.execute(Run.java:1927) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428) Finished: FAILURE