Started by user unknown or anonymous Running as SYSTEM Building in workspace /data/jenkins/workspace/test-v5qy--ferry The recommended git tool is: NONE using credential e9f27bcd-2741-48e3-b693-e66c2b7b3499 > /usr/local/git/bin/git rev-parse --resolve-git-dir /data/jenkins/workspace/test-v5qy--ferry/.git # timeout=10 Fetching changes from the remote Git repository > /usr/local/git/bin/git config remote.origin.url https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git # timeout=10 Fetching upstream changes from https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git > /usr/local/git/bin/git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials gitlab凭据 > /usr/local/git/bin/git fetch --tags --force --progress -- https://gitlab.arsbaibaodun.com/bcx_basic/bj-ferry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/local/git/bin/git rev-parse refs/remotes/origin/test^{commit} # timeout=10 Checking out Revision 0dd1eae221f6cab19f89a3f65ca7ea229d516d19 (refs/remotes/origin/test) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f 0dd1eae221f6cab19f89a3f65ca7ea229d516d19 # timeout=10 Commit message: "拉取数据区域可配置" > /usr/local/git/bin/git rev-list --no-walk 0dd1eae221f6cab19f89a3f65ca7ea229d516d19 # timeout=10 [test-v5qy--ferry] $ /bin/sh -xe /data/apache-tomcat-jenkins/temp/jenkins1766388325949383966.sh + cd /data/jenkins/workspace/test-v5qy--ferry + mvn clean package -DskipTests -Pout-test 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 Build step 'Execute shell' marked build as failure Finished: FAILURE