mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
CI: Fix error handler
This commit is contained in:
parent
2b438452a0
commit
904771e9fa
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -59,8 +59,10 @@ def jobMatrix(String type, List specs) {
|
||||||
githubNotify(context: "${label}", description: 'Success', status: 'SUCCESS')
|
githubNotify(context: "${label}", description: 'Success', status: 'SUCCESS')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
def tarball = "${type}_${job}_dds_logs.tar.gz"
|
def tarball = "${type}_${job}_dds_logs.tar.gz"
|
||||||
sh "tar czvf ${tarball} -C \${WORKSPACE}/build/test .DDS/"
|
if (fileExists("build/test/.DDS")) {
|
||||||
archiveArtifacts tarball
|
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')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user