project-config/jenkins/jobs/xstatic.yaml
Richard Jones 4e9a4dfc2c Add XStatic version checking job
For testing the proposed version checking job
it is being added to the experimental queue.

This check will be run in the release job as a pre-check
to ensure that the tag triggering the release matches
the version encoded in the release's files. If the version
coded in the tag doesn't match the version in the xstatic
package, it must be rejected.

Co-Authored-By: Joshua Hesketh <josh@nitrotech.org>
Change-Id: I04765ccc8c3a72758391ab147e7d5d79b828fd21
2016-03-07 22:09:03 +11:00

20 lines
472 B
YAML

- job:
name: 'xstatic-check-version'
node: ubuntu-trusty
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
virtualenv .venv
source .venv/bin/activate
pip --version
# Install setuptools_scm pre-requisite
pip install setuptools_scm
# Check version match
/usr/local/jenkins/slave_scripts/xstatic_check_version.py
deactivate
publishers:
- console-log