system-config/modules/openstack_project/files/jenkins_job_builder/config/pbr.yaml
Clark Boylan c2bab2710c Make devstack jobs templates and create check jobs
Duplicate existing devstack jobs and create new ones for running in the
check pipeline so that we can use different node labels in the check
pipeline.

Change-Id: I689b54cae570af3c60c118213ae06aaeb575cbaa
2013-09-27 11:45:13 -07:00

36 lines
996 B
YAML

- job-template:
name: '{pipeline}-pbr-devstack-vm-rawinstall'
node: '{node}'
wrappers:
- timeout:
timeout: 120
fail: true
- timestamps
builders:
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
function gate_hook {{
bash $GATE_SCRIPT_DIR/devstack-vm-gate.sh && \
bash -xe $BASE/new/pbr/tools/integration.sh $PROJECTS $BASE
}}
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: '**/pip.log'
keep-hierarchy: false
copy-after-failure: true
- console-log