Commit c8ddd5c5 authored by tower's avatar tower

fix

parent 78d98fed
...@@ -325,13 +325,13 @@ def build_java(systemName, branchName,contextDir) { ...@@ -325,13 +325,13 @@ 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}/ext/lib;mv ${jarFilePath}/lib/* ${contextDir}/ext/lib" 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}/ext/config;mv ${jarFilePath}/config/* ${contextDir}/ext/config" sh "mkdir ${contextDir}/config;${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