Skip to content
Failed

Console Output

Started by an SCM change
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/ATS
[Pipeline] {
[Pipeline] tool
[Pipeline] stage
[Pipeline] { (git clone)
[Pipeline] git
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git@github.com:appNG/appng-tomcat-session.git # timeout=10
Fetching upstream changes from git@github.com:appNG/appng-tomcat-session.git
 > git --version # timeout=10
 > git fetch --tags --progress git@github.com:appNG/appng-tomcat-session.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision d564bb1b76d0676401b291cd325ebe0da0beec97 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d564bb1b76d0676401b291cd325ebe0da0beec97
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D master # timeout=10
 > git checkout -b master d564bb1b76d0676401b291cd325ebe0da0beec97
Commit message: "ATS-6 do not use sessions Map"
 > git rev-list 2d168209980cda206a5a023c088f087cb09594d2 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Maven Build)
[Pipeline] sh
[ATS] Running shell script
+ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.5.0/bin/mvn clean deploy
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.appng:appng-tomcat-session:jar:0.1.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 11, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building appng-tomcat-session 0.1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-tomcat-session ---
[INFO] Deleting /var/lib/jenkins/workspace/ATS/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appng-tomcat-session ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/ATS/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ appng-tomcat-session ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 12 source files to /var/lib/jenkins/workspace/ATS/target/classes
[INFO] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/mongo/MongoStore.java: /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/mongo/MongoStore.java uses or overrides a deprecated API.
[INFO] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/mongo/MongoStore.java: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/mongo/MongoPersistentManager.java:[79,39] unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.394 s
[INFO] Finished at: 2017-12-21T11:20:23+01:00
[INFO] Final Memory: 21M/314M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project appng-tomcat-session: Compilation failure
[ERROR] /var/lib/jenkins/workspace/ATS/src/main/java/org/appng/tomcat/session/mongo/MongoPersistentManager.java:[79,39] unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown
[ERROR] 
[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
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE