Commit f14ded3e authored by tower's avatar tower

fff

parent 48f6d80e
...@@ -318,8 +318,14 @@ def build_java(systemName, branchName,contextDir) { ...@@ -318,8 +318,14 @@ def build_java(systemName, branchName,contextDir) {
buildCmd = projectAttr["buildCmd"] buildCmd = projectAttr["buildCmd"]
jarFilePath = projectAttr["jarFilePath"] jarFilePath = projectAttr["jarFilePath"]
sh "mkdir ${contextDir}/lib"
sh buildCmd sh buildCmd
sh "mv ${jarFilePath}/*.jar ${contextDir}/app.jar" sh "mv ${jarFilePath}/*.jar ${contextDir}/app.jar"
if (fileExists "${jarFilePath}/lib" ){
sh "mv ${jarFilePath}/lib/* ${contextDir}/lib"
}
} }
def build_nodejs( systemName, branchName,contextDir) { def build_nodejs( systemName, branchName,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