Skip to content

Commit

Permalink
Archive released distro artifacts (#1672)
Browse files Browse the repository at this point in the history
This will make it easier to test the artifacts generated by the pipeline.

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn authored Jul 14, 2024
1 parent 5b0d900 commit 22c0a1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions launch/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 22c0a1e

Please sign in to comment.