03678429e4
Increase the Jenkins timeout by 5 minutes, and supply the intended timeout value to devstack-gate as an env variable. This will allow devstack-gate to timeout the gate job and have 5 minutes to copy logs. Change-Id: Iac0475e8c885274a3ff41adb4affb1499680a87e
36 lines
958 B
YAML
36 lines
958 B
YAML
- job:
|
|
name: 'gate-tripleo-deploy'
|
|
node: 'tripleo-precise'
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 125
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=120
|
|
export DEVSTACK_GATE_TEMPEST=0
|
|
export DEVSTACK_GATE_EXERCISES=0
|
|
function gate_hook {
|
|
bash -xe /home/jenkins/tripleo/tripleo-ci/toci_gate_test.sh
|
|
}
|
|
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
|