diff --git a/Jenkinsfile b/Jenkinsfile index 5dc314934..eb2452c20 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,11 +11,13 @@ pipeline { configFileProvider( [configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) { sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true' + sh 'ls' } } } stage ('Deploy to Tomcat') { steps { + sh 'ls target' sh 'cp /target/petclinic.war /usr/share/jenkins/ref/petclinic/petclinic.war' } }