From 263f86c824b5b3a9b2158d2823b691be7f54a693 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Sun, 12 Apr 2026 05:25:43 -0300 Subject: [PATCH] ci: make lesavka artifact archive tolerant when no workspace context --- Jenkinsfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7046a3a..adf400c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -84,8 +84,12 @@ pipeline { post { always { - node { - archiveArtifacts artifacts: 'dist/*.tar.gz', fingerprint: true, allowEmptyArchive: true + script { + try { + archiveArtifacts artifacts: 'dist/*.tar.gz', fingerprint: true, allowEmptyArchive: true + } catch (Throwable err) { + echo "archive step unavailable: ${err.class.simpleName}" + } } } }