Started by user unknown or anonymous Replayed #28257 Running as anonymous [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 + /usr/share/maven//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