mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
trying out workspace ls
This commit is contained in:
parent
ca4a384cbb
commit
84c7f0cea3
1 changed files with 2 additions and 0 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue