Commit f597e689 authored by wentao.suo's avatar wentao.suo

ffff

parent 2c0e7e53
...@@ -279,9 +279,9 @@ def getDocketPackageImage(buildType){ ...@@ -279,9 +279,9 @@ def getDocketPackageImage(buildType){
packageImageInfo["args"] = args packageImageInfo["args"] = args
break break
case "nodejs": case "nodejs":
args += "-v /root/.npm:/root/.npm " args += "-v /root/.npm:/root/.npm:rw "
args += "-v /root/.cache:/root/.cache " args += "-v /root/.cache:/root/.cache:rw "
args += "-v /root/.node-gyp:/root/.node-gyp " args += "-v /root/.node-gyp:/root/.node-gyp:rw "
packageImageInfo["image"] = "192.168.4.36/baseimg/jenkins-node-slave:2018041101" packageImageInfo["image"] = "192.168.4.36/baseimg/jenkins-node-slave:2018041101"
packageImageInfo["args"] = args packageImageInfo["args"] = args
...@@ -291,9 +291,9 @@ def getDocketPackageImage(buildType){ ...@@ -291,9 +291,9 @@ def getDocketPackageImage(buildType){
packageImageInfo["args"] = "" packageImageInfo["args"] = ""
break break
case "lua-ui": case "lua-ui":
args += "-v /root/.npm:/root/.npm " args += "-v /root/.npm:/root/.npm:rw "
args += "-v /root/.cache:/root/.cache " args += "-v /root/.cache:/root/.cache:rw "
args += "-v /root/.node-gyp:/root/.node-gyp " args += "-v /root/.node-gyp:/root/.node-gyp:rw "
packageImageInfo["image"] = "192.168.4.36/baseimg/jenkins-node-slave:2018041101" packageImageInfo["image"] = "192.168.4.36/baseimg/jenkins-node-slave:2018041101"
packageImageInfo["args"] = args packageImageInfo["args"] = args
......
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