mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
modification Jenkinsfile
This commit is contained in:
parent
9c7d368e76
commit
7c732fd556
1 changed files with 1 additions and 0 deletions
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -49,6 +49,7 @@ node {
|
||||||
//archiveArtifacts artifacts: '**/target/classes/**', fingerprint: true
|
//archiveArtifacts artifacts: '**/target/classes/**', fingerprint: true
|
||||||
|
|
||||||
stage 'Deploy'
|
stage 'Deploy'
|
||||||
|
def workspacePwd = pwd()
|
||||||
sh "${mvnHome}/bin/mvn tomcat7:deploy-only -DskipTests=true -Dmaven.tomcat.charset='UTF-8' -Dmaven.tomcat.path='/petclinic' -Dmaven.tomcat.update=true -Dmaven.tomcat.url='http://localhost:9966/manager/text' -DwarFile='${workspacePwd}/target/petclinic.war'"
|
sh "${mvnHome}/bin/mvn tomcat7:deploy-only -DskipTests=true -Dmaven.tomcat.charset='UTF-8' -Dmaven.tomcat.path='/petclinic' -Dmaven.tomcat.update=true -Dmaven.tomcat.url='http://localhost:9966/manager/text' -DwarFile='${workspacePwd}/target/petclinic.war'"
|
||||||
|
|
||||||
input 'Is it ok ?'
|
input 'Is it ok ?'
|
||||||
|
|
Loading…
Reference in a new issue