Commit e4a13705 authored by tower's avatar tower

edit

parent 5b85a008
......@@ -184,7 +184,7 @@ def checkout_nodejs(systemName, branchName) {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: gitPath
}
sh "/root/.nvm/versions/node/v8.9.1/bin/npm install"
sh "npm install"
}
......@@ -249,7 +249,7 @@ def checkout_luaui(systemName, branchName) {
}
}
sh "/root/.nvm/versions/node/v8.9.1/bin/npm install"
sh "npm install"
}
......@@ -265,7 +265,7 @@ def ext_bower_install(){
def ext_npm_intall(){
def packageFile = fileExists './package.json'
if(packageFile){
sh "/root/.nvm/versions/node/v8.9.1/bin/npm install"
sh "npm install"
return 1
}
return 0
......@@ -343,11 +343,11 @@ def build_luaui( systemName, branchName,contextDir) {
if(systemName=='xjd-ui' && branchName == 'apollo'){
sh "/root/.nvm/versions/node/v8.9.1/bin/npm run build"
sh "npm run build"
} else {
sh "mv -f ./${systemName}.env.config ${configPath}"
def cmda = buildCmd.replace("npm ","/root/.nvm/versions/node/v8.9.1/bin/npm " )
sh cmda
sh buildCmd
}
......
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