From 818f13ba8d4a491143ec31989c8a7b9da1ff9501 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 1 Aug 2022 14:05:40 -0500 Subject: [PATCH] archive npm logs after failure --- ci/Jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index ec3dabe..e54791d 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -29,6 +29,13 @@ pipeline { } } } + post { + failure { + dir('ui/npm_cache/_logs') { + archiveArtifacts '*' + } + } + } } } }