summaryrefslogtreecommitdiffstats
path: root/jjb/sweetcomb/sweetcomb.yaml
diff options
context:
space:
mode:
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2019-06-04 14:07:47 +0000
committerGerrit Code Review <gerrit@fd.io>2019-06-04 14:07:47 +0000
commit7f85d301a2488deccaa2dd818b1aa062e4b26649 (patch)
treee025ddd2f5e4c54dbc61cb340d522b60818a56d0 /jjb/sweetcomb/sweetcomb.yaml
parentb994e9b278c4e596cb09549d17017be833defbbe (diff)
parenta004b478f1173a6216e4f8e1f99cbc2a110319ac (diff)
Merge "Add sweetcomb-test"
Diffstat (limited to 'jjb/sweetcomb/sweetcomb.yaml')
-rw-r--r--jjb/sweetcomb/sweetcomb.yaml73
1 files changed, 73 insertions, 0 deletions
diff --git a/jjb/sweetcomb/sweetcomb.yaml b/jjb/sweetcomb/sweetcomb.yaml
index e0db408ca..f1accc67c 100644
--- a/jjb/sweetcomb/sweetcomb.yaml
+++ b/jjb/sweetcomb/sweetcomb.yaml
@@ -20,11 +20,14 @@
jobs:
- 'sweetcomb-verify-{stream}-{os}'
- 'sweetcomb-merge-{stream}-{os}'
+ - 'sweetcomb-test-{stream}-{os}'
project: 'sweetcomb'
os:
- ubuntu1604:
repo-os-part: 'ubuntu.xenial.main'
+ - ubuntu1804:
+ repo-os-part: 'ubuntu.bionic.main'
- centos7:
repo-os-part: 'centos7'
stream:
@@ -205,3 +208,73 @@
rerun-unstable-builds: false
max-failed-builds: 1
fixed-delay: 90
+
+- job-template:
+ name: 'sweetcomb-test-{stream}-{os}'
+
+ project-type: freestyle
+ node: '{os}-us'
+ concurrent: true
+
+ build-discarder:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: 100
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - os-parameter:
+ os: '{os}'
+ - repo-name-parameter:
+ repo-name: '{repo-stream-part}.{repo-os-part}'
+ - stream-parameter:
+ stream: '{stream}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: 'jenkins-gerrit-credentials'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - fdio-infra-wrappers:
+ build-timeout: 120
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - config-file-provider:
+ files:
+ - file-id: '.packagecloud'
+ target: '/root'
+ - config-file-provider:
+ files:
+ - file-id: 'packagecloud_api'
+ target: '/root'
+ - shell:
+ !include-raw-escape:
+ - include-raw-sweetcomb-build.sh
+ - include-raw-sweetcomb-test.sh
+ publishers:
+ - archive:
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'
+ - naginator:
+ rerun-unstable-builds: false
+ max-failed-builds: 1
+ fixed-delay: 90
+
+ publishers:
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'