See <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/7/> ------------------------------------------ Started by user CI Nuiton Admin Building on master in workspace <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/> No JDK named ‘jdk1.7’ found No JDK named ‘jdk1.7’ found
git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository git config remote.origin.url http://git.nuiton.org/nuiton-web.git # timeout=10 Fetching upstream changes from http://git.nuiton.org/nuiton-web.git git --version # timeout=10 git -c core.askpass=true fetch --tags --progress http://git.nuiton.org/nuiton-web.git +refs/heads/*:refs/remotes/origin/* git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10 Checking out Revision 9d0592737597f277561fdf67eecfa541c12f0262 (refs/remotes/origin/develop) No JDK named ‘jdk1.7’ found git config core.sparsecheckout # timeout=10 git checkout -f 9d0592737597f277561fdf67eecfa541c12f0262 git rev-list 9d0592737597f277561fdf67eecfa541c12f0262 # timeout=10 No JDK named ‘jdk1.7’ found No JDK named ‘jdk1.7’ found Parsing POMs No JDK named ‘jdk1.7’ found Established TCP socket on 40098 [nuiton-web-sonar] $ java -Dsettings.security=/var/local/forge/data/nuiton.org/maven/settings-security.xml -Djava.awt.headless=true -cp /var/local/forge/data/nuiton.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-agent-1.7.jar:/opt/maven3/boot/plexus-classworlds-2.5.2.jar:/opt/maven3/conf/logging jenkins.maven3.agent.Maven32Main /opt/maven3 /var/local/forge/exec/tomcat-nuiton.org/webapps/jenkins/WEB-INF/lib/remoting-2.53.2.jar /var/local/forge/data/nuiton.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.7.jar /var/local/forge/data/nuiton.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.7.jar 40098 <===[JENKINS REMOTING CAPACITY]===> channel started No JDK named ‘jdk1.7’ found Executing Maven: -B -f <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/pom.xml> -s /var/local/forge/data/nuiton.org/maven/settings.xml -e -U clean verify [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Nuiton Web [INFO] Nuiton Web :: Nuiton Web [INFO] Nuiton Web :: Nuiton Struts 2 [INFO] Nuiton Web :: Nuiton Tapestry [INFO] Nuiton Web :: Nuiton RSS [INFO] Nuiton Web :: Nuiton GWT [INFO] Nuiton Web :: Nuiton Security [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Nuiton Web 1.18-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6:clean (default-clean) @ nuiton-web-parent --- [INFO] Deleting <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/target> [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-versions) @ nuiton-web-parent --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-project-files) @ nuiton-web-parent --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-site-deploy-classifier) @ nuiton-web-parent --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-platform) @ nuiton-web-parent --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-projectId) @ nuiton-web-parent --- [INFO] [INFO] --- maven-antrun-plugin:1.7:run (generate-surefire-workdir) @ nuiton-web-parent --- [INFO] Executing tasks
main: [mkdir] Created dir: <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ nuiton-web-parent --- [JENKINS] Archiving disabled 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] ------------------------------------------------------------------------ [INFO] Building Nuiton Web :: Nuiton Web 1.18-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6:clean (default-clean) @ nuiton-web --- [INFO] Deleting <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-web/target> [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-versions) @ nuiton-web --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-project-files) @ nuiton-web --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-site-deploy-classifier) @ nuiton-web --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-platform) @ nuiton-web --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-projectId) @ nuiton-web --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ nuiton-web --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-web/src/main/resources> [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ nuiton-web --- [INFO] Compiling 9 source files to <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-web/target/classes> [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [INFO] 1 error [INFO] ------------------------------------------------------------- [JENKINS] Archiving disabled 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 [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Nuiton Web ......................................... SUCCESS [ 4.846 s] [INFO] Nuiton Web :: Nuiton Web ........................... FAILURE [ 9.102 s] [INFO] Nuiton Web :: Nuiton Struts 2 ...................... SKIPPED [INFO] Nuiton Web :: Nuiton Tapestry ...................... SKIPPED [INFO] Nuiton Web :: Nuiton RSS ........................... SKIPPED [INFO] Nuiton Web :: Nuiton GWT ........................... SKIPPED [INFO] Nuiton Web :: Nuiton Security ...................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17.007 s [INFO] Finished at: 2016-02-25T11:44:17+01:00 [INFO] Final Memory: 23M/438M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project nuiton-web: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project nuiton-web: Compilation failure No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:186) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:120) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:909) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 31 more [ERROR] [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :nuiton-web Sending e-mails to: nuiton-web-build@list.nuiton.org channel stopped Skipping sonar analysis due to bad build status FAILURE 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