Started by user Younes
Running as SYSTEM
Building on the built-in node in workspace /var/lib/jenkins/workspace/build-logship-frontend
The recommended git tool is: NONE
using credential younex1
> git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/build-logship-frontend/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/younex1/erp-nuxt-frontend.git # timeout=10
Fetching upstream changes from https://github.com/younex1/erp-nuxt-frontend.git
> git --version # timeout=10
> git --version # 'git version 2.39.5'
using GIT_ASKPASS to set credentials Token Github
> git fetch --tags --force --progress -- https://github.com/younex1/erp-nuxt-frontend.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
Checking out Revision 6414a02df5e1f9176b93e17ce04863b8790f768c (refs/remotes/origin/dev)
> git config core.sparsecheckout # timeout=10
> git checkout -f 6414a02df5e1f9176b93e17ce04863b8790f768c # timeout=10
Commit message: "Replace Strapi API Key"
> git rev-list --no-walk 6414a02df5e1f9176b93e17ce04863b8790f768c # timeout=10
[build-logship-frontend] $ /bin/sh -xe /tmp/jenkins14340089359200367454.sh
+ cp .env-dev env
+ git rev-parse --short HEAD
+ git_hash=6414a02d
+ date +'%d.%m.%Y %H:%M'
+ current_datetime='02.01.2025 15:12'
+ file_path=.env
+ sed -i s/<GIT_HASH>/6414a02d/g .env
+ sed -i s/<CURRENT_DATETIME>/'02.01.2025 15:12'/g .env
+ sed -i s|nuxt build|node --max-old-space-size=3072 node_modules/.bin/nuxt build|g package.json
+ npm install
/tmp/jenkins14340089359200367454.sh: 12: npm: not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE