fix(ci): archive copied artifacts right away

This way they are available earlier for E2E tests.
Also bump general job timeout.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-11-16 10:19:09 +01:00 committed by Jakub
parent 26f29a4fe6
commit 58dbba1a21
1 changed files with 3 additions and 1 deletions

View File

@ -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)