spc added again

This commit is contained in:
qtdevops 2023-08-27 16:24:38 +05:30
parent 21c15675f5
commit 3f46f3112f

11
Jenkinsfile vendored
View file

@ -25,11 +25,11 @@ pipeline{
archiveArtifacts artifacts: '**/target/*.jar' archiveArtifacts artifacts: '**/target/*.jar'
} }
} }
stage('junit_reports'){ // stage('junit_reports'){
steps{ // steps{
junit '**/surefire-reports/*.xml' // junit '**/surefire-reports/*.xml'
} // }
} // }
} }
post{ post{
always{ always{
@ -56,6 +56,7 @@ pipeline{
and jenkins url is $env.JENKINS_URL""" and jenkins url is $env.JENKINS_URL"""
} }
success{ success{
junit '**/surefire-reports/*.xml'
echo 'Pipeline is success' echo 'Pipeline is success'
mail to: 'goruputivenkatalahari@gmail.com', mail to: 'goruputivenkatalahari@gmail.com',
subject: 'The pipeline is success', subject: 'The pipeline is success',