Commit 953046d0 authored by 温海元's avatar 温海元

add sh

parent ce1e4708
......@@ -511,7 +511,7 @@ def build_java(systemName, branchName,contextDir) {
sh 'mvn -v'
sh 'env'
sh buildCmd
sh "mv ${jarFilePath}/*-1.0-SNAPSHOT.jar ${contextDir}/app.jar"
sh "mv ${jarFilePath}/*.jar ${contextDir}/app.jar"
currentPath = sh (script: 'pwd',returnStdout: true).trim()
def libfolder = new File( "${currentPath}/target/lib" )
......
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