project-config/jenkins/jobs/senlin.yaml
Liuqing Jing c53cf86a29 Add senlin-dashboard to PROJECTS
This is needed as gate-senlin-dsvm-functional job is failing
due to that.

Change-Id: Icd587b3dc3e2b9ffe26ab3a0d1cab5aacda15116
2016-02-19 15:24:04 -05:00

45 lines
1.4 KiB
YAML

- job-template:
name: '{pipeline}-senlin-dsvm-functional{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export BRANCH_OVERRIDE={branch-override}
export PROJECTS="openstack/senlin $PROJECTS"
export PROJECTS="openstack/senlin-dashboard $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin senlin https://git.openstack.org/openstack/senlin"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_service sl-api sl-eng"
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function pre_test_hook {{
cd /opt/stack/new/senlin/senlin/tests/functional/
./pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
cd /opt/stack/new/senlin/senlin/tests/functional/
./post_test_hook.sh
}}
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