From 3942a168b310c0da267915d2dcaac2889c663537 Mon Sep 17 00:00:00 2001 From: Jamo Luhrsen Date: Wed, 15 Jun 2016 14:33:48 -0700 Subject: [PATCH] apex, cperf: Adds cperf job to Apex New job allows execution of deployment + cperf test on intel-pod2. Job will automatically pull the latest RPM by default but can be overridden in jenkins. Once we validate this job works, we can add it to be part of the daily. Change-Id: I8ecd4cc175e206e9ff2d8798530a5fabf3d47cfc Signed-off-by: Jamo Luhrsen Signed-off-by: Marcus G. K. Williams Signed-off-by: Tim Rozet --- jjb/apex/apex.yml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml index 3ba8842fc..edc669e85 100644 --- a/jjb/apex/apex.yml +++ b/jjb/apex/apex.yml @@ -323,6 +323,58 @@ failure-threshold: 'never' unstable-threshold: 'FAILURE' +- job-template: + name: 'apex-runner-cperf-{stream1}' + + # runner cperf job + + node: 'intel-pod2' + + disabled: false + + parameters: + - apex-parameter: + gs-pathname: '{gs-pathname}' + - project-parameter: + project: '{project}' + - gerrit-parameter: + branch: '{branch}' + - string: + name: GIT_BASE + default: https://gerrit.opnfv.org/gerrit/$PROJECT + description: "Used for overriding the GIT URL coming from parameters macro." + + scm: + - gerrit-trigger-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + choosing-strategy: 'default' + + properties: + - build-blocker: + use-build-blocker: false + block-level: 'NODE' + blocking-jobs: + - 'apex-deploy.*{stream}' + - throttle: + max-per-node: 1 + max-total: 10 + option: 'project' + + builders: + - trigger-builds: + - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}' + predefined-parameters: + OPNFV_CLEAN=yes + git-revision: false + block: true + - trigger-builds: + - project: 'cperf-apex-intel-pod2-daily-{stream1}' + predefined-parameters: + DEPLOY_SCENARIO=os-odl_l2-nofeature-ha + block: true + same-node: true + - job-template: name: 'apex-build-{stream}' -- 2.16.6