Started by an SCM change Building in workspace /var/lib/jenkins/jobs/BuildTools/workspace Fetching changes from the remote Git repository Checking out Revision 9d5839f402ffdcf989492cee14bef70ce34db6f4 (refs/remotes/origin/master) Commit message: "Detect and refuse to build using unsupported Java versions." Parsing POMs Established TCP socket on 39311 [workspace] $ java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-agent-1.12-alpha-1.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3/boot/plexus-classworlds-2.5.1.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3/conf/logging jenkins.maven3.agent.Maven32Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3 /var/cache/jenkins/war/WEB-INF/lib/remoting-3.21.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.12-alpha-1.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12-alpha-1.jar 39311 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/BuildTools/workspace/pom.xml clean install -Dbuild.number=76 [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building BuildTools 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ builder --- [INFO] Deleting /var/lib/jenkins/jobs/BuildTools/workspace/target [INFO] [INFO] --- scriptus:0.2:describe (default) @ builder --- [INFO] Set property "describe" to "git-BuildTools-9d5839f-76" [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ builder --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/BuildTools/workspace/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ builder --- [INFO] Compiling 4 source files to /var/lib/jenkins/jobs/BuildTools/workspace/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Bootstrap.java:[8,8] error: cannot find symbol [ERROR] symbol: class JavaVersion location: class Bootstrap /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Bootstrap.java:[8,34] error: cannot find symbol [ERROR] symbol: variable JavaVersion location: class Bootstrap /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Bootstrap.java:[10,51] error: package JavaVersion does not exist [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Bootstrap.java:[17,51] error: package JavaVersion does not exist [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Bootstrap.java:[23,28] error: cannot find symbol [ERROR] symbol: variable JavaVersion location: class Bootstrap /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[293,39] error: package JavaVersion does not exist [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[293,72] error: package JavaVersion does not exist [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[297,133] error: cannot find symbol [ERROR] symbol: variable JavaVersion location: class Builder /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[299,20] error: cannot find symbol [ERROR] symbol: class JavaVersion location: class Builder /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[299,45] error: cannot find symbol [ERROR] symbol: variable JavaVersion location: class Builder /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[300,20] error: cannot find symbol [ERROR] symbol: class JavaVersion location: class Builder /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[300,45] error: cannot find symbol [ERROR] symbol: variable JavaVersion location: class Builder /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[301,20] error: cannot find symbol [ERROR] symbol: class JavaVersion location: class Builder /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[301,45] error: cannot find symbol [ERROR] symbol: variable JavaVersion location: class Builder /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[303,39] error: cannot find symbol [ERROR] symbol: variable JavaVersion location: class Builder /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[303,76] error: cannot find symbol [ERROR] symbol: variable JavaVersion location: class Builder /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[305,108] error: cannot find symbol [ERROR] symbol: variable JavaVersion location: class Builder /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[311,124] error: cannot find symbol [INFO] 18 errors [INFO] ------------------------------------------------------------- [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.236 s [INFO] Finished at: 2018-08-29T23:56:18+00:00 [INFO] Final Memory: 20M/268M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project builder: Compilation failure: Compilation failure: [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Bootstrap.java:[8,8] error: cannot find symbol [ERROR] symbol: class JavaVersion [ERROR] location: class Bootstrap [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Bootstrap.java:[8,34] error: cannot find symbol [ERROR] symbol: variable JavaVersion [ERROR] location: class Bootstrap [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Bootstrap.java:[10,51] error: package JavaVersion does not exist [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Bootstrap.java:[17,51] error: package JavaVersion does not exist [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Bootstrap.java:[23,28] error: cannot find symbol [ERROR] symbol: variable JavaVersion [ERROR] location: class Bootstrap [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[293,39] error: package JavaVersion does not exist [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[293,72] error: package JavaVersion does not exist [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[297,133] error: cannot find symbol [ERROR] symbol: variable JavaVersion [ERROR] location: class Builder [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[299,20] error: cannot find symbol [ERROR] symbol: class JavaVersion [ERROR] location: class Builder [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[299,45] error: cannot find symbol [ERROR] symbol: variable JavaVersion [ERROR] location: class Builder [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[300,20] error: cannot find symbol [ERROR] symbol: class JavaVersion [JENKINS] Archiving /var/lib/jenkins/jobs/BuildTools/workspace/pom.xml to org.spigotmc/builder/1.0-SNAPSHOT/builder-1.0-SNAPSHOT.pom [ERROR] location: class Builder [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[300,45] error: cannot find symbol [ERROR] symbol: variable JavaVersion [ERROR] location: class Builder [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[301,20] error: cannot find symbol [ERROR] symbol: class JavaVersion [ERROR] location: class Builder [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[301,45] error: cannot find symbol [ERROR] symbol: variable JavaVersion [ERROR] location: class Builder [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[303,39] error: cannot find symbol [ERROR] symbol: variable JavaVersion [ERROR] location: class Builder [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[303,76] error: cannot find symbol [ERROR] symbol: variable JavaVersion [ERROR] location: class Builder [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[305,108] error: cannot find symbol [ERROR] symbol: variable JavaVersion [ERROR] location: class Builder [ERROR] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/builder/Builder.java:[311,124] error: cannot find symbol [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 channel stopped Archiving artifacts Finished: FAILURE