chore(ci)_: archive logs in case of test failure

This commit is contained in:
Patryk Osmaczko 2024-06-14 13:03:51 +02:00 committed by osmaczko
parent 7b38a5b6bd
commit e9882e88d3
1 changed files with 6 additions and 1 deletions

View File

@ -175,7 +175,12 @@ pipeline {
}
}
success { script { github.notifyPR(true) } }
failure { script { github.notifyPR(false) } }
failure {
script {
github.notifyPR(false)
archiveArtifacts('**/test_*.log')
}
}
cleanup {
dir(env.TMPDIR) { deleteDir() }
sh "make git-clean"