added changes

This commit is contained in:
“[Akhil 2024-12-25 16:30:33 +05:30
parent 5768e10441
commit 91e5d25973

4
Jenkinsfile vendored
View file

@ -12,10 +12,13 @@ pipeline {
} }
stages { stages {
stage ('git'){ stage ('git'){
steps{
git branch: 'develop', git branch: 'develop',
url: 'https://github.com/Akhil-Tejas225/spring-petclinic.git' url: 'https://github.com/Akhil-Tejas225/spring-petclinic.git'
}
} }
stage ('build and package') { stage ('build and package') {
steps{
rtMavenDeployer ( rtMavenDeployer (
id: 'SPC_DEPLOYER', id: 'SPC_DEPLOYER',
serverId: 'JFROG_CLOUD', serverId: 'JFROG_CLOUD',
@ -31,6 +34,7 @@ pipeline {
rtPublishBuildInfo ( rtPublishBuildInfo (
serverId: 'JFROG_CLOUD' serverId: 'JFROG_CLOUD'
) )
}
stage ('reporting'){ stage ('reporting'){
junit testResults: '**/target/surefire-reports/TEST-*.xml' junit testResults: '**/target/surefire-reports/TEST-*.xml'
} }