Skip to content
Snippets Groups Projects
Commit ee85005f authored by MJB's avatar MJB
Browse files

on_failure to clean up

parent 4faa9975
No related branches found
No related tags found
No related merge requests found
variables:
TEST_PACKAGE_NAME: clmctest-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA-.tar.gz
TEST_PACKAGE_NAME: clmctest-SNAPSHOP-.tar.gz
stages:
- build
......@@ -8,9 +8,8 @@ stages:
build:tests:
stage: build
script:
script:
- echo $TEST_PACKAGE_NAME
- echo "$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA" > clmctest/git-commit-ref
- python setup.py sdist --dist-dir=build
artifacts:
paths:
......
......@@ -6,7 +6,7 @@ def read(fname):
setup(
name = "clmctest",
version = read('clmctest/git-commit-ref'),
version = "clmctest-SNAPSHOP",
author = "Michael Boniface",
author_email = "mjb@it-innovation.soton.ac.uk",
description = "FLAME CLMC Testing Module",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment