diff --git a/jenkins/jobs/ceilometer.yaml b/jenkins/jobs/ceilometer.yaml index 4c41d73b20..9b1ac7aebf 100644 --- a/jenkins/jobs/ceilometer.yaml +++ b/jenkins/jobs/ceilometer.yaml @@ -60,6 +60,41 @@ - devstack-logs - console-log +- job-template: + name: '{pipeline}-ceilometer-dsvm-functional-{backend}{branch-designator}' + node: '{node}' + + wrappers: + - build-timeout: + timeout: 125 + - timestamps + + builders: + - link-logs + - net-info + - devstack-checkout + - shell: | + #!/bin/bash -xe + export PYTHONUNBUFFERED=true + export DEVSTACK_GATE_TIMEOUT=120 + export BRANCH_OVERRIDE={branch-override} + if [ "$BRANCH_OVERRIDE" != "default" ] ; then + export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE + fi + + function post_test_hook {{ + # Configure and run functional tests + $BASE/new/ceilometer/ceilometer/tests/functional/hooks/post_test_hook.sh "{backend}" + }} + export -f post_test_hook + + cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh + ./safe-devstack-vm-gate-wrap.sh + + publishers: + - test-results + - devstack-logs + - console-log - job-template: name: '{pipeline}-ceilometerclient-dsvm-functional{branch-designator}' diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index c58e4232ac..9444e23062 100755 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -53,6 +53,12 @@ node: 'devstack-trusty' branch-designator: '' branch-override: default + - '{pipeline}-ceilometer-dsvm-functional-{backend}{branch-designator}': + pipeline: 'check' + backend: 'mongodb' + node: 'devstack-trusty' + branch-designator: '' + branch-override: default - project: name: ceilometer-specs diff --git a/zuul/layout.yaml b/zuul/layout.yaml index e53634e250..e5e3a28c87 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -1500,6 +1500,7 @@ projects: - gate-grenade-dsvm-forward - gate-tempest-dsvm-ceilometer-es - gate-tempest-dsvm-ceilometer-es-full + - check-ceilometer-dsvm-functional-mongodb - name: openstack/ceilometer-specs template: