diff options
author | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2019-06-03 15:06:37 -0500 |
---|---|---|
committer | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2019-06-03 15:06:37 -0500 |
commit | d4db3064a740481af04a658b5308bc90d2a283df (patch) | |
tree | f9076548b9de54de860691cc04250a77936e4f4d /jjb | |
parent | cdca441e77a45449c20a3395ffce2b8ab05bc09c (diff) |
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 <vvalderrama@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/global-defaults.yaml | 2 | ||||
-rw-r--r-- | jjb/sweetcomb/sweetcomb.yaml | 13 |
2 files changed, 15 insertions, 0 deletions
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: |