Skip to content
Failed

Console Output

Started by user sakamuri.pavithran
Running as sakamuri.pavithran
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/ATS
[Pipeline] {
[Pipeline] tool
[Pipeline] stage
[Pipeline] { (git clone)
[Pipeline] git
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/ATS/.git # 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 --version # 'git version 2.30.2'
 > git fetch --tags --force --progress -- git@github.com:appNG/appng-tomcat-session.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 7576fb4b9203b70fd3767e25e42f892cb1bd44a6 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7576fb4b9203b70fd3767e25e42f892cb1bd44a6 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D master # timeout=10
 > git checkout -b master 7576fb4b9203b70fd3767e25e42f892cb1bd44a6 # timeout=10
Commit message: "ATS-31"
 > git rev-list --no-walk 7576fb4b9203b70fd3767e25e42f892cb1bd44a6 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Maven Build)
[Pipeline] sh
+ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.5.0/bin/mvn clean deploy
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE