Commit 2e09a5bb authored by Domenico Giordano's avatar Domenico Giordano
Browse files

better to use JOB_ID that is unique

parent 34192515
......@@ -49,10 +49,10 @@ export WORK_DIR=$(readlink -f $(dirname $BASH_SOURCE))
echo WORK_DIR $WORK_DIR
cd $WORK_DIR
export CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHORT_SHA:-noCI}
export CI_JOB_ID=${CI_JOB_ID:-noCI}
export CI_COMMIT_BRANCH=${CI_COMMIT_BRANCH:-noCI}
export COMMIT_TAG=${CI_COMMIT_TAG:-$CI_COMMIT_BRANCH}
export CVMFSDIR=/builds/${COMMIT_TAG}/cvmfs-${CI_COMMIT_SHORT_SHA}
export KRB5DIR=/builds/${COMMIT_TAG}/krb5-${CI_COMMIT_SHORT_SHA}
export CVMFSDIR=/builds/${COMMIT_TAG}/cvmfs-${CI_JOB_ID}
export KRB5DIR=/builds/${COMMIT_TAG}/krb5-${CI_JOB_ID}
export IMAGE_TAG=${COMMIT_TAG}
......@@ -46,11 +46,11 @@ export WORK_DIR=$(readlink -f $(dirname $BASH_SOURCE))
echo WORK_DIR $WORK_DIR
cd $WORK_DIR
export CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHORT_SHA:-noCI}
export CI_JOB_ID=${CI_JOB_ID:-noCI}
export CI_COMMIT_BRANCH=${CI_COMMIT_BRANCH:-noCI}
export COMMIT_TAG=${CI_COMMIT_TAG:-$CI_COMMIT_BRANCH}
export CVMFSDIR=/builds/${COMMIT_TAG}/cvmfs-${CI_COMMIT_SHORT_SHA}
export KRB5DIR=/builds/${COMMIT_TAG}/krb5-${CI_COMMIT_SHORT_SHA}
export CVMFSDIR=/builds/${COMMIT_TAG}/cvmfs-${CI_JOB_ID}
export KRB5DIR=/builds/${COMMIT_TAG}/krb5-${CI_JOB_ID}
export IMAGE_TAG=${COMMIT_TAG}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment