project-config/jenkins/jobs/training-labs.yaml
Pranav Salunke ecf0e041de Adds training-labs post jobs to publish tarballs
Adding training labs post jobs to publish tar/zip to
tarball.openstack.org. This should allow training-labs team to
automatically publish tarballs/zip files for the end-users of this
project and provide direct links from docs.openstack.org/training-labs
landing page.

Change-Id: I5dee9c7188b8b0cfd1bad31f320cc787eae5dcfa
2016-03-02 16:42:48 +01:00

35 lines
739 B
YAML

- job:
name: 'training-labs-scripts'
node: bare-trusty
builders:
- revoke-sudo
- gerrit-git-prep
- 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:
name: 'gate-training-labs-scripts'
node: devstack-trusty
builders:
- revoke-sudo
- gerrit-git-prep
- shell:
#!/bin/bash -xe
./tools/generate-labs $ZUUL_REFNAME
publishers:
- console-log