Skip to content
Failed

Console Output

Established TCP socket on 45525
<===[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.27-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.slf4j:slf4j-api:jar:1.7.26 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[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 247 source files to /var/lib/jenkins/jobs/CitizensAPI/workspace/target/classes
[ERROR] error reading /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar; zip file is empty
[ERROR] error reading /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar; zip file is empty
[INFO] /var/lib/jenkins/jobs/CitizensAPI/workspace/src/main/java/net/citizensnpcs/api/astar/pathfinder/DoorExaminer.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/DoorExaminer.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
[ERROR] error reading /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar; zip file is empty
[ERROR] error reading /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar; zip file is empty
[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: 0.337 sec
Running net.citizensnpcs.api.ai.SimpleGoalControllerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running net.citizensnpcs.api.ai.BehaviorTreeTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 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 ---
[INFO] 
Loading source files for package net.citizensnpcs.api...
Loading source files for package net.citizensnpcs.api.ai...
Loading source files for package net.citizensnpcs.api.ai.event...
Loading source files for package net.citizensnpcs.api.ai.flocking...
Loading source files for package net.citizensnpcs.api.ai.goals...
Loading source files for package net.citizensnpcs.api.ai.speech...
Loading source files for package net.citizensnpcs.api.ai.speech.event...
Loading source files for package net.citizensnpcs.api.ai.tree...
Loading source files for package net.citizensnpcs.api.astar...
Loading source files for package net.citizensnpcs.api.astar.pathfinder...
Loading source files for package net.citizensnpcs.api.command...
Loading source files for package net.citizensnpcs.api.command.exception...
Loading source files for package net.citizensnpcs.api.event...
Loading source files for package net.citizensnpcs.api.exception...
Loading source files for package net.citizensnpcs.api.gui...
Loading source files for package net.citizensnpcs.api.hpastar...
Loading source files for package net.citizensnpcs.api.jnbt...
Loading source files for package net.citizensnpcs.api.npc...
Loading source files for package net.citizensnpcs.api.persistence...
Loading source files for package net.citizensnpcs.api.scripting...
Loading source files for package net.citizensnpcs.api.trait...
Loading source files for package net.citizensnpcs.api.trait.trait...
Loading source files for package net.citizensnpcs.api.util...
1 error
[JENKINS] Archiving  javadoc
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  25.786 s
[INFO] Finished at: 2020-12-21T13:14:39Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.1:javadoc (default-cli) on project citizensapi: An error has occurred in Javadoc report generation:
[ERROR] Exit code: 1 - error: error reading /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar; zip file is empty
[ERROR] 
[ERROR] Command line was: /var/lib/jenkins/tools/hudson.model.JDK/JDK8/jre/../bin/javadoc @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in '/var/lib/jenkins/jobs/CitizensAPI/workspace/target/site/apidocs' dir.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.