Commit 9894e523 authored by 温海元's avatar 温海元

add sh

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