summaryrefslogtreecommitdiffstats
path: root/jjb/apex
diff options
context:
space:
mode:
authorJamo Luhrsen <jluhrsen@redhat.com>2016-06-15 14:33:48 -0700
committerTim Rozet <trozet@redhat.com>2016-07-14 10:12:14 -0400
commit3942a168b310c0da267915d2dcaac2889c663537 (patch)
treef698a1f7362c67f1cdebec1c943c08dd713d9b98 /jjb/apex
parentfb4fcf3abcb36b33a3055317220404c5090d7919 (diff)
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 <jluhrsen@redhat.com> Signed-off-by: Marcus G. K. Williams <marcus.williams@intel.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex')
-rw-r--r--jjb/apex/apex.yml52
1 files changed, 52 insertions, 0 deletions
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
@@ -324,6 +324,58 @@
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}'
# Job template for builds