project-config/jenkins/jobs/aodh.yaml
Andreas Jaeger 9e8c66a93a Increase devstack timeout
Increase devstack wrapper timeout by 5 mins since devstack-gate will use
10 mins - instead of the previous 5 mins - as buffer.

This is needed in this form only for those jobs changed by
21837612a5.

Change-Id: Ida6e84f6c9458d46b7c3792bf57eff27dd72b258
Needed-By: Iea866e4cc40e149e598f35e010ec855937bdf9ae
2016-02-07 09:16:13 +01:00

39 lines
1.0 KiB
YAML

- job-template:
name: '{pipeline}-aodh-dsvm-functional-{backend}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 100
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export PROJECTS="openstack/aodh $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin aodh git://git.openstack.org/openstack/aodh"
function gate_hook {{
cd /opt/stack/new/aodh/devstack/gate
./gate_hook.sh {backend}
}}
export -f gate_hook
function post_test_hook {{
cd /opt/stack/new/aodh/aodh/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