From: Vanessa Rene Valderrama Date: Mon, 3 Jun 2019 20:06:37 +0000 (-0500) Subject: Configure Sweetcomb archive artifacts X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F37%2F19937%2F1;p=ci-management.git Configure Sweetcomb archive artifacts Configuring the Sweetcomb artifacts to archive to https://logs.fd.io/ instead of Jenkins Change-Id: I9c85176a074e1d459b7949d288e3e8a8699eaa36 Signed-off-by: Vanessa Rene Valderrama --- diff --git a/jjb/global-defaults.yaml b/jjb/global-defaults.yaml index ea8bd7603..68cbbf1b6 100644 --- a/jjb/global-defaults.yaml +++ b/jjb/global-defaults.yaml @@ -1,3 +1,4 @@ +--- # GLOBAL jenkins defaults - defaults: @@ -15,6 +16,7 @@ gerrit-server-name: Primary jenkins-ssh-credential: jenkins-gerrit-credentials lftools-version: <1.0.0 + archive-artifacts: '' # fd.io branch defaults branch: master diff --git a/jjb/sweetcomb/sweetcomb.yaml b/jjb/sweetcomb/sweetcomb.yaml index 51fcb1887..e0db408ca 100644 --- a/jjb/sweetcomb/sweetcomb.yaml +++ b/jjb/sweetcomb/sweetcomb.yaml @@ -133,6 +133,14 @@ artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' + archive-artifacts: > + **/build-root/build-package/*.rpm + **/build-root/build-package/*.deb, + allow-empty: 'true' + fingerprint: false + only-if-success: true + default-excludes: false + parameters: - project-parameter: project: '{project}' @@ -144,6 +152,11 @@ stream: '{stream}' - repo-name-parameter: repo-name: '{repo-stream-part}.{repo-os-part}' + - string: + name: ARCHIVE_ARTIFACTS + default: '{archive-artifacts}' + description: Artifacts to archive to the logs server. + scm: - gerrit-trigger-scm: