Skip to content
Failed

Console Output

Started by [email protected] on request of 'fullwall'
Building in workspace /var/lib/jenkins/jobs/CitizensAPI/workspace
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 -c core.askpass=true fetch --tags --progress git://github.com/CitizensDev/CitizensAPI.git +refs/heads/*:refs/remotes/origin/*
 > 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 -c core.askpass=true fetch --tags --progress git://github.com/CitizensDev/CitizensAPI.git +refs/heads/*:refs/remotes/origin/*
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
Checking out Revision a50aa2b45e2fb492bc8a214363496f371cf66c78 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a50aa2b45e2fb492bc8a214363496f371cf66c78
 > git rev-list 0af66586ec71de905660fa8d9b1f363dd0798afe # timeout=10
 > git tag -a -f -m Jenkins Build #524 jenkins-CitizensAPI-524 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 37092
[workspace] $ java -Djava.awt.headless=true -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.7.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.3/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.3 /var/cache/jenkins/war/WEB-INF/lib/remoting-2.62.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.7.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.7.jar 37092
<===[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] ------------------------------------------------------------------------
[INFO] Building CitizensAPI 2.0.21-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.bukkit.org/content/groups/public/org/yaml/snakeyaml/1.17/snakeyaml-1.17.pom
Downloading: http://repo1.maven.org/maven2/org/yaml/snakeyaml/1.17/snakeyaml-1.17.pom
Downloaded: http://repo1.maven.org/maven2/org/yaml/snakeyaml/1.17/snakeyaml-1.17.pom (28 KB at 220.6 KB/sec)
Downloading: http://repo.bukkit.org/content/groups/public/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar
Downloading: http://repo1.maven.org/maven2/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar
Downloaded: http://repo1.maven.org/maven2/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar (268 KB at 175.3 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ citizensapi ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3: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:2.3.2:compile (default-compile) @ citizensapi ---
[INFO] Compiling 237 source files to /var/lib/jenkins/jobs/CitizensAPI/workspace/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Unable to locate the Javac Compiler in:
  /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.
[INFO] 1 error
[INFO] -------------------------------------------------------------
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: 3.943s
[INFO] Finished at: Thu Nov 17 08:03:30 GMT 2016
[INFO] Final Memory: 17M/127M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project citizensapi: Compilation failure
[ERROR] Unable to locate the Javac Compiler in:
[ERROR] /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64/jre/../lib/tools.jar
[ERROR] Please ensure you are using JDK 1.4 or above and
[ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
[ERROR] In most cases you can change the location of your Java
[ERROR] installation by setting the JAVA_HOME environment variable.
[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/CitizensAPI/workspace/pom.xml to net.citizensnpcs/citizensapi/2.0.21-SNAPSHOT/citizensapi-2.0.21-SNAPSHOT.pom
channel stopped
Archiving artifacts
IRC notifier plugin: Sending notification to: #citizens
IRC notifier plugin: Sending notification to: #citizens-dev
IRC notifier plugin: Sending notification to: #denizen-dev
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
Finished: FAILURE