我在yarn
早期将stage
软件包安装为全局。
+ npm i yarn -g
/usr/local/bin/yarnpkg -> /usr/local/lib/node_modules/yarn/bin/yarn.js
/usr/local/bin/yarn -> /usr/local/lib/node_modules/yarn/bin/yarn.js
+ yarn@1.7.0
added 1 package in 1.376s
使用该软件包给我一个错误。
纱线:许可被拒绝
+ yarn install --prefer-offline
/var/jenkins_home/workspace/abide@tmp/durable-3cf966e5/script.sh: 2: /var/jenkins_home/workspace/abide@tmp/durable-3cf966e5/script.sh: yarn: Permission denied
管道以
开头pipeline {
agent {
docker {
image 'node'
args '-u root:root'
}
}
...