Commit 45adff76 authored by 温海元's avatar 温海元

add sh

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