Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mvn clean compile
- — Shell Script
- 2s
- [jenkins-example] Running shell script
- + mvn clean compile
- ----- withMaven Wrapper script -----
- Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/var/lib/jenkins/workspace/jenkins-example@tmp/withMavenae51bbf4/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/var/lib/jenkins/workspace/jenkins-example@tmp/withMavenae51bbf4"
- Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T08:58:13+01:00)
- Maven home: /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven_3_5_2
- Java version: 1.8.0_161, vendor: Oracle Corporation
- Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
- Default locale: en_US, platform encoding: UTF-8
- OS name: "linux", version: "3.10.0-693.17.1.el7.x86_64", arch: "amd64", family: "unix"
- [INFO] [jenkins-event-spy] Generate /var/lib/jenkins/workspace/jenkins-example@tmp/withMavenae51bbf4/maven-spy-20180214-114212-7314104439256381802284.log.tmp ...
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building jenkins-example 1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jenkins-example ---
- [INFO] Deleting /var/lib/jenkins/workspace/jenkins-example/target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jenkins-example ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/jenkins-example/src/main/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jenkins-example ---
- [INFO] Changes detected - recompiling the module!
- [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/jenkins-example/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] -------------------------------------------------------------
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 0.822 s
- [INFO] Finished at: 2018-02-14T11:42:13Z
- [INFO] Final Memory: 8M/105M
- [INFO] ------------------------------------------------------------------------
- [INFO] [jenkins-event-spy] Generated /var/lib/jenkins/workspace/jenkins-example@tmp/withMavenae51bbf4/maven-spy-20180214-114212-7314104439256381802284.log
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project jenkins-example: Compilation failure
- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
- [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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement