Merge pull request #3 from hanzalawebdev/feat/unit-tests
Update Jenkinsfile
This commit is contained in:
commit
27c8399afa
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue