Commit 024cbe02 authored by wentao.suo's avatar wentao.suo

echo log

parent 7ab751f4
...@@ -160,7 +160,8 @@ def checkout_nodejs(systemName, branchName) { ...@@ -160,7 +160,8 @@ def checkout_nodejs(systemName, branchName) {
} }
def checkout_luaui(systemName, branchName) { def checkout_luaui(systemName, branchName) {
echo "----------------------------" currentPath = sh (script: 'pwd',returnStdout: true).trim()
echo "- ${currentPath} -"
sh "whoami" sh "whoami"
echo "----------------------------" echo "----------------------------"
sh "cp -rf /home/quant_group/config_repository/lua-ui/npmrc/npmrc /root/.npmrc" sh "cp -rf /home/quant_group/config_repository/lua-ui/npmrc/npmrc /root/.npmrc"
...@@ -168,11 +169,7 @@ def checkout_luaui(systemName, branchName) { ...@@ -168,11 +169,7 @@ def checkout_luaui(systemName, branchName) {
_utils().beautyEcho("ui project : ${systemName}" , "info") _utils().beautyEcho("ui project : ${systemName}" , "info")
projectAttr = project_attr(systemName) projectAttr = project_attr(systemName)
gitPath = projectAttr["gitPath"] gitPath = projectAttr["gitPath"]
currentPath = sh (script: 'pwd',returnStdout: true).trim()
//0 if project is simple ui not run npm install //0 if project is simple ui not run npm install
def packejson = new File( "${currentPath}/package.json" ) def packejson = new File( "${currentPath}/package.json" )
......
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