Commit 2de2d3e1 authored by wentao.suo's avatar wentao.suo

fix

parent 06f8a312
......@@ -168,6 +168,7 @@ def checkout_luaui(systemName, branchName) {
def packejson = new File( "${currentPath}/package.json" )
if(!packejson.exists()){
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: gitPath
sh "mkdir dist"
return
}
......@@ -261,8 +262,13 @@ def build_luaui( systemName, contextDir) {
configPath = projectAttr["configPath"]
buildCmd = projectAttr["buildCmd"]
configName = systemName
currentPath = sh (script: 'pwd',returnStdout: true).trim()
sh "mv -f ./${systemName}.env.config.js ${configPath}"
sh buildCmd
sh "tar zcf ${systemName}.tgz dist/"
sh "mv ${systemName}.tgz ${contextDir}"
......
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