modification Jenkinsfile

This commit is contained in:
jonapoirier 2016-11-11 18:00:09 +01:00
parent 9c7d368e76
commit 7c732fd556

1
Jenkinsfile vendored
View file

@ -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 ?'