控制台输出
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 327c6230198ff0425a0e12a19b29116290dadf4d (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 327c6230198ff0425a0e12a19b29116290dadf4d # timeout=10
Commit message: "Merge branch 'dev' of http://140.210.216.73:6090/artfess/jd_gyl_web into dev"
> D:\Program Files\Git\bin\git.exe rev-list --no-walk ac29a7a6f85191ced43e62df5e4c0798e6692dda # timeout=10
[jd_gyl_web] $ cmd /c call D:\apache-tomcat-9.0.8\temp\jenkins1966065941707825449.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\jenkins4889706050353793234.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\jenkins5192791094023378939.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\jenkins5476587934601819717.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