|
|
@@ -3,10 +3,11 @@ |
|
|
baseDir="/home/somuns/ci4s" |
|
|
baseDir="/home/somuns/ci4s" |
|
|
cd ${baseDir}/react-ui |
|
|
cd ${baseDir}/react-ui |
|
|
|
|
|
|
|
|
|
|
|
npm config set registry https://registry.npmmirror.com/ |
|
|
npm config set proxy http://172.20.32.253:3128 |
|
|
npm config set proxy http://172.20.32.253:3128 |
|
|
npm config set https-proxy http://172.20.32.253:3128 |
|
|
npm config set https-proxy http://172.20.32.253:3128 |
|
|
|
|
|
|
|
|
npm install |
|
|
|
|
|
|
|
|
npm install --force |
|
|
|
|
|
|
|
|
if [ $? -ne 0 ]; then |
|
|
if [ $? -ne 0 ]; then |
|
|
echo "Failed to install npm depend package" |
|
|
echo "Failed to install npm depend package" |
|
|
|