当前位置:网站首页>Jenkins build prompt error: eacces: permission denied
Jenkins build prompt error: eacces: permission denied
2022-06-26 13:36:00 【woowen!】
jenkins When building front-end projects , Here is the error message :
ERROR Error: EACCES: permission denied, unlink '/var/jenkins_home/workspace/uat-risk-static/dist/023965f43a24e8ea5c2f.worker.js'
Error: EACCES: permission denied, unlink '/var/jenkins_home/workspace/uat-risk-static/dist/023965f43a24e8ea5c2f.worker.js'
npm ERR! code ELIFECYCLE
npm ERR! errno 1

The general information is : Permission denied
Two ways of thinking :
1. jenkins The configured server directory has permissions , The operation and maintenance authority needs to be released .
Jenkins The roles used by the runtime are jenkins
chown -R jenkins This directory , Just make changes !
2. Modify the configuration : Open the configuration information of the current task item , Find the build command line to add
npm install --unsafe-perm=true --allow-root
边栏推荐
- [shell] generate strings between specified dates
- F - Charm Bracelet
- Electron official docs series: Testing And Debugging
- HW蓝队溯源流程详细整理
- MongoDB系列之适用场景和不适用场景
- Detailed sorting of HW blue team traceability process
- LeetCode_ Stack_ Medium_ 150. evaluation of inverse Polish expression
- Firewall introduction
- Go language - pipeline channel
- 7-16 monetary system I
猜你喜欢
随机推荐
A collection of common tools for making we media videos
Ubuntu installation and configuration PostgreSQL (18.04)
ES中索引别名(alias)的到底有什么用
H5视频自动播放和循环播放
Firewall introduction
HDU 3555 Bomb
A few lines of code can realize complex excel import and export. This tool class is really powerful!
Electron official docs series: Distribution
es常用语法一
8. [STM32] timer (TIM) -- interrupt, PWM, input capture experiment (proficient in timer)
HDU 5860
Es6: iterator
防火墙介绍
李航老师新作《机器学习方法》上市了!附购买链接
Lamp compilation and installation
Custom encapsulation drop-down component
Electron official docs series: Examples
A primary multithreaded server model
[shell] generate strings between specified dates
What features are added to Photoshop 2022 23.4.1? Do you know anything









