try chown on /root/.npm

This commit is contained in:
Hyatt 2022-09-26 16:59:12 -05:00
parent 7d7953a2b6
commit 135afc6566
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -142,6 +142,8 @@ pipeline {
sh """
apt-get update
apt-get install -y rpm
mkdir /root/.npm
chown -R 1000:1000 "/root/.npm"
su - node
cd "${workspace}/lens"
make build