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

add sh

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