project-config/jenkins/jobs/osc.yaml
Andreas Jaeger ebc180f912 Use ubuntu-trusty for check-osc-plugins
Convert job to use ubuntu-trusty instead of bare-trusty.

Change-Id: I462b7f5ea078976695cbd17fe769a3a8adc5184a
2016-03-08 10:48:53 +00:00

56 lines
1.5 KiB
YAML

- job-template:
name: '{pipeline}-osc-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 DEVSTACK_GATE_UNSTACK=0
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
export PROJECTS="openstack/python-openstackclient $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-openstackclient
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
bash -xe $BASE/new/python-openstackclient/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
- job:
name: check-osc-plugins
node: ubuntu-trusty
builders:
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- link-logs
- net-info
- shell: /usr/local/jenkins/slave_scripts/check-osc-plugins.sh
publishers:
- console-log