mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-12-13 06:20:16 +00:00
CI: Collect DDS logs on error
This commit is contained in:
committed by
Dennis Klein
parent
107248be0a
commit
b4aeb320e5
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -52,6 +52,10 @@ def jobMatrix(String type, List specs) {
|
|||||||
deleteDir()
|
deleteDir()
|
||||||
githubNotify(context: "${label}", description: 'Success', status: 'SUCCESS')
|
githubNotify(context: "${label}", description: 'Success', status: 'SUCCESS')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
def tarball = "${prefix}_${label}_dds_logs.tar.gz"
|
||||||
|
sh "tar czvf ${tarball} -C \${WORKSPACE}/build/test .DDS/"
|
||||||
|
archiveArtifacts tarball
|
||||||
|
|
||||||
deleteDir()
|
deleteDir()
|
||||||
githubNotify(context: "${label}", description: 'Error', status: 'ERROR')
|
githubNotify(context: "${label}", description: 'Error', status: 'ERROR')
|
||||||
throw e
|
throw e
|
||||||
|
|||||||
Reference in New Issue
Block a user