From 22c0a1e51bd660b643cffe007c1035af177b0b92 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sun, 14 Jul 2024 20:57:48 +0200 Subject: [PATCH] Archive released distro artifacts (#1672) This will make it easier to test the artifacts generated by the pipeline. Signed-off-by: Wouter Born --- launch/Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/launch/Jenkinsfile b/launch/Jenkinsfile index adaa7fed1a..6b14c65cb5 100644 --- a/launch/Jenkinsfile +++ b/launch/Jenkinsfile @@ -35,6 +35,10 @@ try { node { deleteDir() releaseComponent('openhab-distro', true, env.OH_BRANCH) + + def releaseVersion = env.OH_RELEASE_VERSION + def distributions = 'openhab-distro/distributions' + archiveArtifacts artifacts: "${distributions}/openhab/target/openhab-${releaseVersion}.*, ${distributions}/openhab-addons/target/openhab-addons-${releaseVersion}.kar, ${distributions}/openhab-demo/target/openhab-demo-${releaseVersion}.*" } if(!env.SANDBOX?.toBoolean()) {