Merge pull request #3 from hanzalawebdev/feat/unit-tests
Update Jenkinsfile
This commit is contained in:
commit
27c8399afa
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
|
@ -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…
Add table
Reference in a new issue