project-config/jenkins/jobs/training-labs.yaml
Andreas Jaeger 2bb7c834a8 Switch to Xenial: training-labs
Change jobs so that newton and newer runs on xenial, older branches
on trusty.

Change-Id: Ib67251fcc25f342e10cb5dd56ada8ae65792abbb
2016-12-06 21:04:19 +01:00

37 lines
825 B
YAML

- job-template:
name: 'training-labs-scripts-{node}'
node: '{node}'
builders:
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- shell:
#!/bin/bash -xe
./tools/generate-labs $ZUUL_REFNAME
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'build/dist/*'
target: 'tarballs/training-labs/dist/'
keep-hierarchy: false
copy-after-failure: false
- console-log
- job-template:
name: 'gate-training-labs-scripts-{node}'
node: '{node}'
builders:
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- shell:
#!/bin/bash -xe
./tools/generate-labs $ZUUL_REFNAME
publishers:
- console-log