Started by user jenkins
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/zoumh-frontend
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] git
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir /var/jenkins_home/workspace/zoumh-frontend/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/zoumh001207/zoumh-vue.git # timeout=10
Fetching upstream changes from https://github.com/zoumh001207/zoumh-vue.git
> git --version # timeout=10
> git --version # 'git version 2.47.3'
> git fetch --tags --force --progress -- https://github.com/zoumh001207/zoumh-vue.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision 2b1a6418f533d71ca46b510d659ad0ab067caedb (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2b1a6418f533d71ca46b510d659ad0ab067caedb # timeout=10
> git branch -a -v --no-abbrev # timeout=10
> git branch -D main # timeout=10
> git checkout -b main 2b1a6418f533d71ca46b510d659ad0ab067caedb # timeout=10
Commit message: "feat: add clouddrive landing entry"
> git rev-list --no-walk 2b1a6418f533d71ca46b510d659ad0ab067caedb # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Prepare Cache)
[Pipeline] sh
+ set -e
+ mkdir -p /var/jenkins_home/caches/npm
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
+ set -e
+ docker run --rm -u 0:0 -v /var/jenkins_home/workspace/zoumh-frontend:/workspace -w /workspace -v /var/jenkins_home/caches/npm:/npm-cache -e NPM_CACHE_DIR=/npm-cache node:20-bullseye bash -lc npm ci --cache "/var/jenkins_home/caches/npm" --prefer-offline && npm run build:prod
Unable to find image 'node:20-bullseye' locally
20-bullseye: Pulling from library/node
ae548fc276b4: Pulling fs layer
d9b0ce93cf4a: Pulling fs layer
e759575b5b00: Pulling fs layer
aa0ff4d4cf74: Pulling fs layer
3630cfaecd24: Pulling fs layer
faec137085b3: Pulling fs layer
47c12ab2f943: Pulling fs layer
c3b8a6c799b3: Pulling fs layer
ae548fc276b4: Download complete
c3b8a6c799b3: Download complete
3630cfaecd24: Download complete
287c6dfe5a27: Download complete
aa0ff4d4cf74: Download complete
d64b714e7c59: Download complete
47c12ab2f943: Download complete
e759575b5b00: Download complete
faec137085b3: Download complete
e759575b5b00: Pull complete
aa0ff4d4cf74: Pull complete
faec137085b3: Pull complete
d9b0ce93cf4a: Download complete
d9b0ce93cf4a: Pull complete
c3b8a6c799b3: Pull complete
ae548fc276b4: Pull complete
3630cfaecd24: Pull complete
47c12ab2f943: Pull complete
Digest: sha256:9ff74481eed2f54295f81c6e0c93f6d3cd1772d994287786e1ad329921e2d1a2
Status: Downloaded newer image for node:20-bullseye
npm error code EUSAGE
npm error
npm error The `npm ci` command can only install with an existing package-lock.json or
npm error npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or
npm error later to generate a package-lock.json file, then try again.
npm error
npm error Clean install a project
npm error
npm error Usage:
npm error npm ci
npm error
npm error Options:
npm error [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
npm error [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm error [--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
npm error [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
npm error [--no-bin-links] [--no-fund] [--dry-run]
npm error [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm error [-ws|--workspaces] [--include-workspace-root] [--install-links]
npm error
npm error aliases: clean-install, ic, install-clean, isntall-clean
npm error
npm error Run "npm help ci" for more info
npm error A complete log of this run can be found in: /var/jenkins_home/caches/npm/_logs/2026-04-01T03_07_00_264Z-debug-0.log
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Archive)
Stage "Archive" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
Stage "Deploy" skipped due to earlier failure(s)
[Pipeline] getContext
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE