Commit 8e93d849 authored by 温海元's avatar 温海元

add sh

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