See <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/9/> ------------------------------------------ Started by user CI Chorem Admin Building in workspace <http://ci.chorem.org/jenkins/job/say-my-texts-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.chorem.org/say-my-texts.git # timeout=10 Fetching upstream changes from http://git.chorem.org/say-my-texts.git git --version # timeout=10 git -c core.askpass=true fetch --tags --progress http://git.chorem.org/say-my-texts.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 d2ec7b1ef967aaee0965c2c659a4c4a502b237ec (refs/remotes/origin/develop) No JDK named ‘jdk1.7’ found git config core.sparsecheckout # timeout=10 git checkout -f d2ec7b1ef967aaee0965c2c659a4c4a502b237ec git rev-list d2ec7b1ef967aaee0965c2c659a4c4a502b237ec # 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 51524 [say-my-texts-sonar] $ java -Dsettings.security=/var/local/forge/data/chorem.org/maven/settings-security.xml -XX:MaxPermSize=256m -Xmx1024m -Djava.awt.headless=true -cp /var/local/forge/data/chorem.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-chorem.org/webapps/jenkins/WEB-INF/lib/remoting-2.53.2.jar /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.7.jar /var/local/forge/data/chorem.org/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.7.jar 51524 <===[JENKINS REMOTING CAPACITY]===> channel started No JDK named ‘jdk1.7’ found Executing Maven: -B -f <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/pom.xml> -s /var/local/forge/data/chorem.org/maven/settings.xml -e -U clean verify -Padd-nexus-repository [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [WARNING] The following dependencies may conflict with the internal versions provided by the Android platform: [org.khronos:opengl-api:jar:gl1.1-android-2.1_r1:provided, org.json:json:jar:20080701:compile, xerces:xmlParserAPIs:jar:2.6.2:provided, xpp3:xpp3:jar:1.1.4c:provided, org.apache.httpcomponents:httpclient:jar:4.0.1:provided, commons-logging:commons-logging:jar:1.1.1:provided] It is recommended to shade these artifacts. You can read more about this here: http://simpligility.github.io/android-maven-plugin/shaded-commons-codec.html. Alternatively, you can disable this warning with the'disableConflictingDependenciesWarning' parameter. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Say My Texts 3.O-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ saymytexts --- [INFO] Deleting <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ saymytexts --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ saymytexts --- [INFO] [INFO] --- android-maven-plugin:4.3.0:generate-sources (default-generate-sources) @ saymytexts --- [INFO] Manifest copied from <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/AndroidManifest.xml> to <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/AndroidManifest.xml> [INFO] Extracting libs [INFO] Generating R file for org.chorem.android:saymytexts:apk:3.O-SNAPSHOT [INFO] Adding R gen folder to compile classpath: <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/generated-sources/r> [INFO] Adding AIDL gen folder to compile classpath: <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/target/generated-sources/aidl> [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ saymytexts --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 41 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ saymytexts --- [INFO] Compiling 15 source files to <http://ci.chorem.org/jenkins/job/say-my-texts-sonar/ws/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 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.255 s [INFO] Finished at: 2016-02-25T10:32:51+01:00 [INFO] Final Memory: 26M/438M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project saymytexts: 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.3:compile (default-compile) on project saymytexts: 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:911) 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 Sending e-mails to: say-my-texts-build@list.chorem.org Skipping sonar analysis due to bad build status FAILURE channel stopped 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