project-config/jenkins/jobs/app-catalog.yaml
Clark Boylan a5c3c60534 Run app catalog ui integration job on Xenial
This project only has a master branch, shift testing for it ahead to
Xenial.

Change-Id: I27fabde45984a4339e5cda17b213cbf0daf0ba35
2016-12-06 08:02:12 -08:00

56 lines
1.6 KiB
YAML

- job:
name: gate-app-catalog-ui-dsvm-integration
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- firefox-install
- xvfb-install
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_NEUTRON=1
# Enable App Catalog Horizon plugin
export PROJECTS="openstack/app-catalog-ui $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin app-catalog-ui https://git.openstack.org/openstack/app-catalog-ui"
function pre_test_hook {
$BASE/new/app-catalog-ui/tools/gate/integration/pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
$BASE/new/app-catalog-ui/tools/gate/integration/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
- publish-screenshots
- console-log
- publisher:
name: publish-screenshots
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH/screenshots'
source: 'integration_tests_screenshots/**'
copy-after-failure: true