From ff8e70f6b31553d97e003cea667b31f3ff9ff483 Mon Sep 17 00:00:00 2001 From: Anthony Lamping Date: Sun, 28 Jul 2019 10:25:36 -0400 Subject: [PATCH] jenkins: archive catkin test logs on failure --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index d15c18edb6..2bebf888a4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,6 +39,9 @@ pipeline { always { sh 'rm -rf catkin_ws' } + failure { + archiveArtifacts(allowEmptyArchive: false, artifacts: '.ros/**/*.xml, .ros/**/*.log') + } } options { checkoutToSubdirectory('catkin_ws/src/Firmware')