
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
20 lines
472 B
YAML
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
|