added changes

This commit is contained in:
“[Akhil 2024-12-25 16:46:05 +05:30
parent 91e5d25973
commit 926cd1e4be

6
Jenkinsfile vendored
View file

@ -17,7 +17,7 @@ pipeline {
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{ steps{
rtMavenDeployer ( rtMavenDeployer (
id: 'SPC_DEPLOYER', id: 'SPC_DEPLOYER',
@ -26,7 +26,7 @@ pipeline {
snapshotRepo: 'atdevops-libs-snapshot' snapshotRepo: 'atdevops-libs-snapshot'
) )
rtMavenRun ( rtMavenRun (
tool: 'Maven_3.8', tool: maven 'Maven_3.8',
deployerId: 'SPC_DEPLOYER', deployerId: 'SPC_DEPLOYER',
pom: 'pom.xml', pom: 'pom.xml',
goals: 'clean install' goals: 'clean install'
@ -35,7 +35,7 @@ pipeline {
serverId: 'JFROG_CLOUD' serverId: 'JFROG_CLOUD'
) )
} }
stage ('reporting'){ stage('reporting'){
junit testResults: '**/target/surefire-reports/TEST-*.xml' junit testResults: '**/target/surefire-reports/TEST-*.xml'
} }