控制台输出
Started by timer
Running as SYSTEM
Building in workspace D:\jenkins\workspace\jd_gyl_web
The recommended git tool is: NONE
using credential c574fb46-ee62-45e1-8dac-32ae7b6a43a8
> D:\Program Files\Git\bin\git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> D:\Program Files\Git\bin\git.exe config remote.origin.url http://140.210.216.73:6090/artfess/jd_gyl_web.git # timeout=10
Fetching upstream changes from http://140.210.216.73:6090/artfess/jd_gyl_web.git
> D:\Program Files\Git\bin\git.exe --version # timeout=10
> git --version # 'git version 2.24.1.windows.2'
using GIT_ASKPASS to set credentials
> D:\Program Files\Git\bin\git.exe fetch --tags --force --progress -- http://140.210.216.73:6090/artfess/jd_gyl_web.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> D:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/dev^{commit}" # timeout=10
Checking out Revision 23656288813e41eb542709cb1cc7b8db3423739e (refs/remotes/origin/dev)
> D:\Program Files\Git\bin\git.exe config core.sparsecheckout # timeout=10
> D:\Program Files\Git\bin\git.exe checkout -f 23656288813e41eb542709cb1cc7b8db3423739e # timeout=10
Commit message: "功能优化"
> D:\Program Files\Git\bin\git.exe rev-list --no-walk 94a687411e56ccaec07c448b57899f051598b73d # timeout=10
[jd_gyl_web] $ cmd /c call D:\apache-tomcat-9.0.8\temp\jenkins5376195947457267263.bat
D:\jenkins\workspace\jd_gyl_web>nvm use 20.18.0
Now using node v20.18.0 (64-bit)
D:\jenkins\workspace\jd_gyl_web>node -v
v20.18.0
D:\jenkins\workspace\jd_gyl_web>npm -v
10.8.2
[jd_gyl_web] $ cmd /c call D:\apache-tomcat-9.0.8\temp\jenkins804808839183699419.bat
D:\jenkins\workspace\jd_gyl_web>npm config set registry https://registry.npmmirror.com/
[jd_gyl_web] $ cmd /c call D:\apache-tomcat-9.0.8\temp\jenkins451696470354553588.bat
D:\jenkins\workspace\jd_gyl_web>npm config get registry
https://registry.npmmirror.com/
[jd_gyl_web] $ cmd /c call D:\apache-tomcat-9.0.8\temp\jenkins6599837391367018999.bat
D:\jenkins\workspace\jd_gyl_web>cd D:\jenkins\workspace\jd-gyl-web && npm install && npm run build-only
系统找不到指定的路径。
D:\jenkins\workspace\jd_gyl_web>exit 1
Build step 'Execute Windows batch command' marked build as failure
SSH: Current build result is [FAILURE], not going to run.
Finished: FAILURE