This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch issue/SLING-12954 in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git
commit 022005d751ce85aa30c999821fc257466b1d9669 Author: Robert Munteanu <[email protected]> AuthorDate: Fri Nov 7 17:13:39 2025 +0100 SLING-12954 - Starter IT failures can miss archiving artifacts in case of build failures Always archive artifacts, not only for reference stages. --- vars/slingOsgiBundleBuild.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy index d26b6f9..2938b81 100644 --- a/vars/slingOsgiBundleBuild.groovy +++ b/vars/slingOsgiBundleBuild.groovy @@ -211,7 +211,7 @@ def defineStage(def globalConfig, def jobConfig, def jdkVersion, def operatingSy bat mvnCommand } } - if ( isReferenceStage && jobConfig.archivePatterns ) { + if ( jobConfig.archivePatterns ) { archiveArtifacts(artifacts: SlingJenkinsHelper.jsonArrayToCsv(jobConfig.archivePatterns), allowEmptyArchive: true) } if ( isReferenceStage && goal == 'deploy' && shouldDeploy ) {
