Skip to content

Commit

Permalink
CI : Fix error in build job that occurs when CI run from a tag; refs #51
Browse files Browse the repository at this point in the history
  • Loading branch information
tswilliams committed Jan 8, 2018
1 parent dad1fb3 commit e4e47d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ publish_build_job:
before_script:
- yum -y install openssh-clients
- export EOS_PATH=${OUTPUT_ROOT_DIR}/commits/${CI_COMMIT_TAG:-${CI_COMMIT_SHA}}/pipeline${CI_PIPELINE_ID}
- if [ -n "${CI_COMMIT_TAG}" ]; then export EOS_PATH=${OUTPUT_PIPELINE_URL/commits/tags} ; fi
- if [ -n "${CI_COMMIT_TAG}" ]; then export EOS_PATH=${EOS_PATH/commits/tags} ; fi
script:
- env | grep -v PASSWORD | grep -v TOKEN | sort
- echo "${EOS_ACCOUNT_PASSWORD}" | kinit ${EOS_ACCOUNT_USERNAME}@CERN.CH
Expand Down

0 comments on commit e4e47d4

Please sign in to comment.