added artifacts and test reports

This commit is contained in:
Bharatkumar5690 2023-03-08 12:15:07 +05:30
parent f54208c278
commit 6703e90dea

2
Jenkinsfile vendored
View file

@ -14,7 +14,7 @@ pipeline {
}
stage('test code by using sonarqube') {
steps {
archiveArtifacts artifacts: '**/target/gameoflife.war',
archiveArtifacts artifacts: '**/target/*.jar',
onlyIfSuccessful: true,
allowEmptyArchive: true
junit testResults: '**/surefire-reports/TEST-*.xml'