Commit c58d476b authored by tower's avatar tower

fix

parent cbbe7438
...@@ -325,13 +325,14 @@ def build_java(systemName, branchName,contextDir) { ...@@ -325,13 +325,14 @@ def build_java(systemName, branchName,contextDir) {
def libfolder = new File( "${currentPath}/target/lib" ) def libfolder = new File( "${currentPath}/target/lib" )
echo "${currentPath}/target/lib is exist : ${libfolder.exists()}" echo "${currentPath}/target/lib is exist : ${libfolder.exists()}"
if (libfolder.exists()){ if (libfolder.exists()){
sh "mv ${jarFilePath}/lib ${contextDir}/ext"
sh "mkdir ${contextDir}/ext/lib;mv ${jarFilePath}/lib/* ${contextDir}/ext/lib"
} }
def configfolder = new File( "${currentPath}/target/config" ) def configfolder = new File( "${currentPath}/target/config" )
echo "${currentPath}/target/config is exist : ${libfolder.exists()}" echo "${currentPath}/target/config is exist : ${libfolder.exists()}"
if (libfolder.exists()){ if (libfolder.exists()){
sh "mv ${jarFilePath}/config ${contextDir}/ext" sh "mkdir ${contextDir}/ext/config;mv ${jarFilePath}/config/* ${contextDir}/ext/config"
} }
} }
......
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