mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 05:25:50 +00:00
removing incorrect /
This commit is contained in:
parent
84c7f0cea3
commit
eb9199e891
1 changed files with 1 additions and 3 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -11,14 +11,12 @@ pipeline {
|
||||||
configFileProvider(
|
configFileProvider(
|
||||||
[configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
|
[configFile(fileId: 'nexus', variable: 'MAVEN_SETTINGS')]) {
|
||||||
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true'
|
sh 'mvn -s $MAVEN_SETTINGS clean deploy -DskipTests=true'
|
||||||
sh 'ls'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ('Deploy to Tomcat') {
|
stage ('Deploy to Tomcat') {
|
||||||
steps {
|
steps {
|
||||||
sh 'ls target'
|
sh 'cp target/petclinic.war /usr/share/jenkins/ref/petclinic/petclinic.war'
|
||||||
sh 'cp /target/petclinic.war /usr/share/jenkins/ref/petclinic/petclinic.war'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ('Sonar') {
|
stage ('Sonar') {
|
||||||
|
|
Loading…
Reference in a new issue