当前位置:网站首页>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
边栏推荐
- Es6: iterator
- Basic configuration and test of Beifu twincat3 NCI in NC axis interface
- HW蓝队溯源流程详细整理
- [how to connect the network] Chapter 1: the browser generates messages
- I - Dollar Dayz
- MySQL讲解(二)
- ES基於Snapshot(快照)的數據備份和還原
- Taishan Office Technology Lecture: four cases of using bold font
- ES6:Map
- MySQL数据库常见故障——遗忘数据库密码
猜你喜欢

Echart stack histogram: add white spacing effect setting between color blocks

MySQL数据库常见故障——遗忘数据库密码

CloudCompare——泊松重建

Beifu PLC model selection -- how to see whether the motor is a multi turn absolute value encoder or a single turn absolute value encoder

2、并行接口、协议和相关芯片介绍(8080、8060)

mysql讲解(一)

去某东面试遇到并发编程问题:如何安全地中断一个正在运行的线程

Gurivat sprint Harbour Exchange listed: created “multiple first”, received 900 million yuan Investment from IDG capital

MySQL数据库讲解(三)

三维向量的夹角
随机推荐
Ubuntu installation and configuration PostgreSQL (18.04)
Taishan Office Technology Lecture: four cases of using bold font
Adapter mode
Arcpy -- use of insertlayer() function: adding layers to map documents
Electron official docs series: Best Practices
Nexys A7开发板资源使用技巧
Typescript
ES中索引别名(alias)的到底有什么用
Oplg: new generation cloud native observable best practices
MySQL讲解(二)
[node.js] MySQL module
8、【STM32】定时器(TIM)——中断、PWM、输入捕获实验(一文精通定时器)
遍历指定目录获取当前目录下指定后缀(如txt和ini)的文件名
KITTI Detection dataset whose format is letf_ top_ right_ bottom to JDE normalied xc_ yc_ w_ h
Calculate the distance between two points (2D, 3D)
Awk tools
Beifu cx5130 card replacement and transfer of existing authorization files
LeetCode_ Stack_ Medium_ 150. evaluation of inverse Polish expression
Analysis of state transition diagram of Beifu NC axis
Beifu twincat3 can read and write CSV and txt files