Commit 03fb5dcb authored by 温海元's avatar 温海元

add sh

parent 45adff76
...@@ -512,7 +512,7 @@ def build_java(systemName, branchName,contextDir) { ...@@ -512,7 +512,7 @@ def build_java(systemName, branchName,contextDir) {
sh 'env' sh 'env'
sh buildCmd sh buildCmd
// sh "mv ${jarFilePath}/*.jar ${contextDir}/app.jar" // sh "mv ${jarFilePath}/*.jar ${contextDir}/app.jar"
sh "ls ${jarFilePath}/ | grep -v '-javadoc' | grep -v '-sources' | xargs -I '{}' mv ${jarFilePath}/{}.jar ${contextDir}/app.jar" sh "ls ${jarFilePath}/ | grep '.jar' | grep -v '-javadoc' | grep -v '-sources' | xargs -I '{}' mv ${jarFilePath}/{}.jar ${contextDir}/app.jar"
......
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