project-config/jenkins/jobs/tacker.yaml
Sridhar Ramaswamy 46d41b3bb3 Add experimental devstack gate job for tacker
Depends-On: Ic4a0d6fb2dd6e55a50e081e328a62dc4e9bebfd3
Change-Id: I8a458348bfd9115bc38e3cd537dd7ea65882fce1
2015-09-21 15:03:46 -07:00

37 lines
1.1 KiB
YAML

- job-template:
name: '{pipeline}-tacker-dsvm-functional{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}
export PROJECTS="stackforge/tacker $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin tacker git://git.openstack.org/stackforge/tacker"
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
bash -xe $BASE/new/tacker/tacker/tests/contrib/post_test_hook.sh dsvm-functional
}}
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