trying out workspace ls

This commit is contained in:
Benjamin Stein 2017-05-10 15:02:59 -07:00
parent ca4a384cbb
commit 84c7f0cea3

2
Jenkinsfile vendored
View file

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