From d4db3064a740481af04a658b5308bc90d2a283df Mon Sep 17 00:00:00 2001 From: Vanessa Rene Valderrama Date: Mon, 3 Jun 2019 15:06:37 -0500 Subject: 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 --- jjb/global-defaults.yaml | 2 ++ jjb/sweetcomb/sweetcomb.yaml | 13 +++++++++++++ 2 files changed, 15 insertions(+) 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: -- cgit 1.2.3-korg