Commit c8a4625d authored by 温海元's avatar 温海元

add sh

parent 9894e523
......@@ -512,8 +512,9 @@ 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'"
sh "ls ${jarFilePath}/ | grep '.jar' | grep -v '-javadoc' | grep -v '-sources' | xargs -I '{}' mv ${jarFilePath}/{} ${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'"
// 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