Skip to content
Snippets Groups Projects
Commit 9be65d5b authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: .gitlab-ci.yml

parent f8892887
No related branches found
No related tags found
1 merge request!22Resolve "Add pipeline triggers"
Pipeline #8287 failed
This commit is part of merge request !22. Comments created here will be created in the context of that merge request.
......@@ -30,12 +30,14 @@ env:
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
script:
- ls -lrth /scratch
- |
if [[ "x${CI_PIPELINE_SOURCE}" == "xmerge_request_event" || "$CI_COMMIT_BRANCH" == "master" ]]; then
export EIC_DATA_MODEL_VERSION="${CI_COMMIT_REF_NAME}"
echo "EIC_DATA_MODEL_VERSION = ${EIC_DATA_MODEL_VERSION}"
echo "EIC_DATA_MODEL_VERSION=$CI_COMMIT_REF_NAME" >> juggler.env
fi
- cp juggler.env /scratch/juggler.env
artifacts:
reports:
dotenv: juggler.env
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment