Commit 79f89e2a authored by 温海元's avatar 温海元

add npm install -safe

parent 5ae792bb
......@@ -392,7 +392,8 @@ def checkout_nodejs(systemName, branchName) {
} else {
echo ">>>>>>> is node ui project"
def bowerFile = fileExists './bower.json'
sh "npm install"
//sh "npm install"
sh "npm install --unsafe-perm=true --allow-root"
if (bowerFile) {
//sh "bower install --allow-root"
sh "npm install --unsafe-perm=true --allow-root"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment