控制台输出
Started by user admin
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/app-breed-h5
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/app-breed-h5/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@192.168.19.207:app/app-breed-h5.git # timeout=10
Fetching upstream changes from git@192.168.19.207:app/app-breed-h5.git
> git --version # timeout=10
> git --version # 'git version 2.27.0'
> git fetch --tags --force --progress -- git@192.168.19.207:app/app-breed-h5.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
Checking out Revision 253dccfc23dbc3f1b9ef147f8575e7b72a066295 (refs/remotes/origin/develop)
> git config core.sparsecheckout # timeout=10
> git checkout -f 253dccfc23dbc3f1b9ef147f8575e7b72a066295 # timeout=10
Commit message: "考试优化UI"
> git rev-list --no-walk 253dccfc23dbc3f1b9ef147f8575e7b72a066295 # timeout=10
[app-breed-h5] $ /bin/sh -xe /tmp/jenkins1457232228705666786.sh
+ . /root/.bash_profile
++ '[' -f /root/.bashrc ']'
++ . /root/.bashrc
+++ alias 'rm=rm -i'
+++ alias 'cp=cp -i'
+++ alias 'mv=mv -i'
+++ '[' -f /etc/bashrc ']'
+++ . /etc/bashrc
++++ '[' '' ']'
++++ shopt -q login_shell
++++ '[' 0 -gt 199 ']'
++++ umask 022
++++ for i in '/etc/profile.d/*.sh'
++++ '[' -r /etc/profile.d/colorls.sh ']'
++++ '[' '' ']'
++++ . /etc/profile.d/colorls.sh
++++ for i in '/etc/profile.d/*.sh'
++++ '[' -r /etc/profile.d/cvs.sh ']'
++++ '[' '' ']'
++++ . /etc/profile.d/cvs.sh
++++ for i in '/etc/profile.d/*.sh'
++++ '[' -r /etc/profile.d/glib2.sh ']'
++++ '[' '' ']'
++++ . /etc/profile.d/glib2.sh
++++ for i in '/etc/profile.d/*.sh'
++++ '[' -r /etc/profile.d/lang.sh ']'
++++ '[' '' ']'
++++ . /etc/profile.d/lang.sh
++++ for i in '/etc/profile.d/*.sh'
++++ '[' -r /etc/profile.d/less.sh ']'
++++ '[' '' ']'
++++ . /etc/profile.d/less.sh
++++ for i in '/etc/profile.d/*.sh'
++++ '[' -r /etc/profile.d/vim.sh ']'
++++ '[' '' ']'
++++ . /etc/profile.d/vim.sh
++++ for i in '/etc/profile.d/*.sh'
++++ '[' -r /etc/profile.d/which2.sh ']'
++++ '[' '' ']'
++++ . /etc/profile.d/which2.sh
++++ unset i
++++ unset pathmunge
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/root/bin
++ export PATH
+ npm config set registry=https://registry.npmmirror.com
/tmp/jenkins1457232228705666786.sh: line 5: npm: command not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE