From 17c9054155386f75d829422c9249562b95bff800 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 30 Jan 2024 19:30:26 +0100 Subject: [PATCH] fix: refs #5483 Jenkinsfile fixes --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5552ccdc6..713a63c52 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -156,7 +156,8 @@ pipeline { } always { script { - if (!['master', 'test'].contains(env.BRANCH_NAME)) { + if (env.RUN_SOURCE == 'git' + && !['master', 'test'].contains(env.BRANCH_NAME)) { try { junit 'junitresults.xml' junit 'junit.xml'