Started by user ttadmin Running as SYSTEM Building remotely on testEnv in workspace /root/.jenkins/workspace/deploy No credentials specified Cloning the remote Git repository Cloning repository git@github.com:Linkzu/order.git > /usr/bin/git init /root/.jenkins/workspace/deploy/order # timeout=10 Fetching upstream changes from git@github.com:Linkzu/order.git > /usr/bin/git --version # timeout=10 > /usr/bin/git fetch --tags --progress git@github.com:Linkzu/order.git +refs/heads/*:refs/remotes/origin/* > /usr/bin/git config remote.origin.url git@github.com:Linkzu/order.git # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url git@github.com:Linkzu/order.git # timeout=10 Fetching upstream changes from git@github.com:Linkzu/order.git > /usr/bin/git fetch --tags --progress git@github.com:Linkzu/order.git +refs/heads/*:refs/remotes/origin/* > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 99c69b71d761ab9884b0dd451302c5734e0d390d (refs/remotes/origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 99c69b71d761ab9884b0dd451302c5734e0d390d Commit message: "1" First time build. Skipping changelog. [deploy] $ /bin/sh -xe /tmp/jenkins2811808856137440311.sh + BUILD_ID=DONTKILLME + . /etc/profile ++ '[' -x /usr/bin/id ']' ++ '[' -z 0 ']' +++ /usr/bin/id -un ++ USER=root ++ LOGNAME=root ++ MAIL=/var/spool/mail/root ++ '[' 0 = 0 ']' ++ pathmunge /usr/sbin ++ case ":${PATH}:" in ++ pathmunge /usr/local/sbin ++ case ":${PATH}:" in +++ /usr/bin/hostname ++ HOSTNAME=aubin.com ++ HISTSIZE=1000 ++ '[' '' = ignorespace ']' ++ export HISTCONTROL=ignoredups ++ HISTCONTROL=ignoredups ++ export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL ++ '[' 0 -gt 199 ']' ++ umask 022 ++ for i in '/etc/profile.d/*.sh' /etc/profile.d/sh.local ++ '[' -r /etc/profile.d/256term.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/256term.sh +++ local256= +++ '[' -n '' ']' +++ '[' -n '' ']' +++ unset local256 ++ for i in '/etc/profile.d/*.sh' /etc/profile.d/sh.local ++ '[' -r /etc/profile.d/colorgrep.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/colorgrep.sh +++ /usr/libexec/grepconf.sh -c +++ alias 'grep=grep --color=auto' +++ alias 'egrep=egrep --color=auto' +++ alias 'fgrep=fgrep --color=auto' ++ for i in '/etc/profile.d/*.sh' /etc/profile.d/sh.local ++ '[' -r /etc/profile.d/colorls.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/colorls.sh +++ '[' '!' -t 0 ']' +++ return ++ for i in '/etc/profile.d/*.sh' /etc/profile.d/sh.local ++ '[' -r /etc/profile.d/lang.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/lang.sh +++ sourced=0 +++ '[' -n en_US.UTF-8 ']' +++ saved_lang=en_US.UTF-8 +++ '[' -f /root/.i18n ']' +++.UTF-8 +++ unset saved_lang +++ '[' 0 = 1 ']' +++ unset sourced +++ unset langfile ++ for i in '/etc/profile.d/*.sh' /etc/profile.d/sh.local ++ '[' -r /etc/profile.d/less.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/less.sh +++ '[' -x /usr/bin/lesspipe.sh ']' +++ export 'LESSOPEN=||/usr/bin/lesspipe.sh %s' +++ LESSOPEN='||/usr/bin/lesspipe.sh %s' ++ for i in '/etc/profile.d/*.sh' /etc/profile.d/sh.local ++ '[' -r /etc/profile.d/vim.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/vim.sh +++ '[' -n '4.2.46(2)-release' -o -n '' -o -n '' ']' +++ '[' -x /usr/bin/id ']' ++++ /usr/bin/id -u +++ ID=0 +++ '[' -n 0 -a 0 -le 200 ']' +++ return ++ for i in '/etc/profile.d/*.sh' /etc/profile.d/sh.local ++ '[' -r /etc/profile.d/which2.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/which2.sh +++ alias 'which=alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' ++ for i in '/etc/profile.d/*.sh' /etc/profile.d/sh.local ++ '[' -r /etc/profile.d/sh.local ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/sh.local ++ unset i ++ unset -f pathmunge ++ export MAVEN_HOME=/root/apache-maven-3.6.1 ++ MAVEN_HOME=/root/apache-maven-3.6.1 ++ export PATH=/root/apache-maven-3.6.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin ++ PATH=/root/apache-maven-3.6.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin + export PROJ_PATH=pwd + PROJ_PATH=pwd + export TOMCAT_APP_PATH=/root/apache-tomcat-9.0.22 + TOMCAT_APP_PATH=/root/apache-tomcat-9.0.22 + sh pwd/order/deploy.sh sh: pwd/order/deploy.sh: No such file or directory Build step 'Execute shell' marked build as failure Finished: FAILURE
你本地没有这个文件或者没有这个目录
PROJ_PATH=pwd 这个配置是不是不对?看起来是路径没有识别