diff options
author | Maryam Tahhan <maryam.tahhan@intel.com> | 2016-05-27 10:25:18 +0100 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2016-05-27 10:27:38 +0100 |
commit | 14bfb1545f619ab95ea9225824732bbeccef7db8 (patch) | |
tree | 9611885bd5e65bf47a3ec73110ec014cbc94b48c /jjb/fastpathmetrics | |
parent | 99c671bfcb8d936bbfea950645b22273b22d325f (diff) |
fastpathmetrics: add daily and merge jobs
Add daily, verify and merge jobs for fastpath metrics project.
Change-Id: Ieeca12b0743cc4387ce6725b018360627b5164e7
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Diffstat (limited to 'jjb/fastpathmetrics')
-rw-r--r-- | jjb/fastpathmetrics/fastpathmetrics.yml | 105 |
1 files changed, 104 insertions, 1 deletions
diff --git a/jjb/fastpathmetrics/fastpathmetrics.yml b/jjb/fastpathmetrics/fastpathmetrics.yml index 5b2c9c2cf..c9699ad23 100644 --- a/jjb/fastpathmetrics/fastpathmetrics.yml +++ b/jjb/fastpathmetrics/fastpathmetrics.yml @@ -9,6 +9,8 @@ jobs: - 'fastpathmetrics-verify-{stream}' + - 'fastpathmetrics-merge-{stream}' + - 'fastpathmetrics-daily-{stream}' stream: - master: @@ -58,4 +60,105 @@ builders: - shell: | - echo "Nothing to verify!" + pwd + cd src + make clobber + make + +- job-template: + name: 'fastpathmetrics-merge-{stream}' + + project-type: freestyle + + concurrent: true + + properties: + - throttle: + enabled: true + max-total: 3 + max-per-node: 2 + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - 'opnfv-build-defaults' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + choosing-strategy: 'default' + + triggers: + - gerrit: + trigger-on: + - change-merged-event + - comment-added-contains-event: + comment-contains-value: 'remerge' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + forbidden-file-paths: + - compare-type: ANT + pattern: 'docs/**' + + builders: + - shell: | + pwd + cd src + make clobber + make + +- job-template: + name: 'fastpathmetrics-daily-{stream}' + + project-type: freestyle + + concurrent: true + + properties: + - throttle: + enabled: true + max-total: 3 + max-per-node: 2 + + parameters: + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - 'opnfv-build-defaults' + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + choosing-strategy: 'default' + + triggers: + - gerrit: + trigger-on: + - change-merged-event + - comment-added-contains-event: + comment-contains-value: 'remerge' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + forbidden-file-paths: + - compare-type: ANT + pattern: 'docs/**' + + builders: + - shell: | + pwd + cd src + make clobber + make |