Commit 3b3896c7 authored by tower's avatar tower

fff

parent cca1c4ee
......@@ -321,11 +321,12 @@ def build_java(systemName, branchName,contextDir) {
sh "mkdir ${contextDir}/lib"
sh buildCmd
sh "mv ${jarFilePath}/*.jar ${contextDir}/app.jar"
/*def libFile = fileExists "${jarFilePath}/lib"
if ( libFile){
sh "mv ${jarFilePath}/lib/* ${contextDir}/lib"
}*/
def libfolder = new File( "${jarFilePath}/lib" )
if (libfolder.exists()){
sh "mv ${jarFilePath}/lib/* ${contextDir}/lib"
}
}
......
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