Added changes

This commit is contained in:
Nanditha54 2023-03-08 15:17:35 +05:30
parent 32e31ffe3c
commit baf20b9dbf

6
Jenkinsfile vendored
View file

@ -7,7 +7,7 @@ pipeline {
stages {
stage('vcs') {
steps {
git url: 'https://github.com/khajadevopsmarch23/spring-petclinic.git',
git url: 'https://github.com/Nanditha54/spring-petclinic.git',
branch: 'declarative'
}
}
@ -15,7 +15,9 @@ pipeline {
tools {
jdk 'JDK_17'
}
sh "mvn ${params.MAVEN_GOAL}"
steps {
sh 'mvn package'
sh "mvn ${params.MAVEN_GOAL}"
}
}
stage('sonar analysis') {