Commit 5d02312a authored by tower's avatar tower

fix

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