当前位置:网站首页>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
边栏推荐
- KITTI Detection dataset whose format is letf_ top_ right_ bottom to JDE normalied xc_ yc_ w_ h
- 【MySQL从入门到精通】【高级篇】(二)MySQL目录结构与表在文件系统中的表示
- Stack, LIFO
- GO语言-管道channel
- Coprime and non coprime of template problems of Chinese remainder theorem
- MediaPipe手势(Hands)
- I - Dollar Dayz
- LeetCode_ Stack_ Medium_ 150. evaluation of inverse Polish expression
- Learn how to develop owl components by hand (7): practical use of owl projects
- Arcpy——InsertLayer()函數的使用:摻入圖層到地圖文檔裏
猜你喜欢

Thinking caused by the error < note: candidate expectations 1 argument, 0 provided >
![[how to connect the network] Chapter 2 (middle): sending a network packet](/img/5f/602c59d3a7ee1154c7410fb2fcfc41.png)
[how to connect the network] Chapter 2 (middle): sending a network packet

mysql讲解(一)

Calculate the distance between two points (2D, 3D)

Composite mode

ES基於Snapshot(快照)的數據備份和還原

MediaPipe手势(Hands)

Here document interaction free and expect automatic interaction

Create your own cross domain proxy server

Beifu PLC based on NT_ Shutdown to realize automatic shutdown and restart of controller
随机推荐
H5视频自动播放和循环播放
Guruiwat rushed to the Hong Kong stock exchange for listing: set "multiple firsts" and obtained an investment of 900million yuan from IDG capital
B - Bridging signals
Uva10341 solve it
MySQL explanation (I)
Uva11582 [fast power]colossal Fibonacci numbers!
Use of wangeditor rich text editor
输入文本自动生成图像,太好玩了!
Network remote access using raspberry pie
imagecopymerge
What is the use of index aliases in ES
MongoDB系列之适用场景和不适用场景
Coprime and non coprime of template problems of Chinese remainder theorem
Sed editor
【Proteus仿真】Arduino UNO按键启停 + PWM 调速控制直流电机转速
Es sauvegarde et restauration des données par instantané
Learn how to develop owl components by hand (7): practical use of owl projects
MySQL数据库常见故障——遗忘数据库密码
Mongodb series window environment deployment configuration
Applicable and inapplicable scenarios of mongodb series