fix: initialize npm cache permissions in Jenkins
All checks were successful
Tests / Backend - Tests passed: 8
THE-TIP-TOP-MULTIBRANCH/pipeline/head This commit looks good

This commit is contained in:
2026-08-14 23:07:42 +00:00
parent 61296dda0c
commit 825fedf118

9
Jenkinsfile vendored
View File

@@ -137,6 +137,10 @@ pipeline {
sleep 2
done
docker run --rm \
-v tiptop-npm-cache-backend:/npm-cache \
alpine \
sh -c 'chown -R 1000:1000 /npm-cache'
docker run --rm \
--network "${CI_NETWORK}" \
@@ -184,6 +188,11 @@ pipeline {
steps {
sh '''
docker run --rm \
-v tiptop-npm-cache-frontend:/npm-cache \
alpine \
sh -c 'chown -R 1000:1000 /npm-cache'
docker run --rm \
--volumes-from furious-jenkins \
-v tiptop-npm-cache-frontend:/npm-cache \
--user "$(id -u):$(id -g)" \