Commit b46d2379 authored by zhijie.xue's avatar zhijie.xue

nodejs支持打包命令

parent 4cc3475b
...@@ -535,6 +535,9 @@ def build_nodejs( systemName, branchName,contextDir) { ...@@ -535,6 +535,9 @@ def build_nodejs( systemName, branchName,contextDir) {
configName = systemName configName = systemName
sh "mv -f ./${systemName}.env.config ${configPath}" sh "mv -f ./${systemName}.env.config ${configPath}"
if (buildCmd) {
sh buildCmd
}
sh "tar zcf ${contextDir}/dist.tgz ./* " sh "tar zcf ${contextDir}/dist.tgz ./* "
sh "cp -rf package.json ${contextDir}" sh "cp -rf package.json ${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