mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 10:55:48 +00:00
Added changes
This commit is contained in:
parent
32e31ffe3c
commit
baf20b9dbf
1 changed files with 4 additions and 2 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -7,7 +7,7 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage('vcs') {
|
stage('vcs') {
|
||||||
steps {
|
steps {
|
||||||
git url: 'https://github.com/khajadevopsmarch23/spring-petclinic.git',
|
git url: 'https://github.com/Nanditha54/spring-petclinic.git',
|
||||||
branch: 'declarative'
|
branch: 'declarative'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,9 @@ pipeline {
|
||||||
tools {
|
tools {
|
||||||
jdk 'JDK_17'
|
jdk 'JDK_17'
|
||||||
}
|
}
|
||||||
sh "mvn ${params.MAVEN_GOAL}"
|
steps {
|
||||||
|
sh 'mvn package'
|
||||||
|
sh "mvn ${params.MAVEN_GOAL}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('sonar analysis') {
|
stage('sonar analysis') {
|
||||||
|
|
Loading…
Reference in a new issue