From 58dbba1a21ea57b051010d23c663872f3df9ca4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 16 Nov 2023 10:19:09 +0100 Subject: [PATCH] fix(ci): archive copied artifacts right away MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This way they are available earlier for E2E tests. Also bump general job timeout. Signed-off-by: Jakub SokoĊ‚owski --- ci/Jenkinsfile.combined | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/Jenkinsfile.combined b/ci/Jenkinsfile.combined index c3c7b066c6..d47eb47fb9 100644 --- a/ci/Jenkinsfile.combined +++ b/ci/Jenkinsfile.combined @@ -11,7 +11,7 @@ pipeline { timestamps() disableConcurrentBuilds() /* Prevent Jenkins jobs from running forever */ - timeout(time: 90, unit: 'MINUTES') + timeout(time: 120, unit: 'MINUTES') /* Limit builds retained */ buildDiscarder(logRotator( numToKeepStr: '30', @@ -129,6 +129,8 @@ def Boolean getPublishDefault(Boolean previousValue) { def getArtifacts(key, childBuild) { /* Copy artifacts from child build to parent. */ jenkins.copyArts(childBuild) + /* Archive right away to make artifacts available. */ + archiveArtifacts('pkg/*') /* Add new URL from child build and update description. */ urls[key] = utils.pkgUrl(childBuild) jenkins.setBuildDesc(urls)