summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/global-defaults.yaml2
-rw-r--r--jjb/sweetcomb/sweetcomb.yaml13
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: