Merge pull request #3 from hanzalawebdev/feat/unit-tests

Update Jenkinsfile
This commit is contained in:
Muhammad Hanzala Ali 2025-03-24 12:04:14 +05:00 committed by GitHub
commit 27c8399afa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -42,16 +42,16 @@ pipeline {
post {
always {
junit '**/reports/junit.xml'
archiveArtifacts artifacts: 'reports/**', fingerprint: true
cleanWs(cleanWhenNotBuilt: false, notFailBuild: true)
}
success {
echo 'Build completed successfully!'
junit '**/reports/junit.xml'
archiveArtifacts artifacts: 'reports/**', fingerprint: true
}
failure {
echo 'Build failed!'
junit '**/reports/junit.xml'
}
}
}
}