You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by aw...@apache.org on 2020/09/11 17:07:23 UTC
[yetus] branch master updated: YETUS-971. update gitlab code to use
newer env vars (#119)
This is an automated email from the ASF dual-hosted git repository.
aw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/master by this push:
new ba0f928 YETUS-971. update gitlab code to use newer env vars (#119)
ba0f928 is described below
commit ba0f928284bf83d72ca426367829317fe3b1647d
Author: Allen Wittenauer <aw...@apache.org>
AuthorDate: Fri Sep 11 10:07:14 2020 -0700
YETUS-971. update gitlab code to use newer env vars (#119)
---
precommit/src/main/shell/robots.d/gitlabci.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/precommit/src/main/shell/robots.d/gitlabci.sh b/precommit/src/main/shell/robots.d/gitlabci.sh
index fff8d9f..6124180 100755
--- a/precommit/src/main/shell/robots.d/gitlabci.sh
+++ b/precommit/src/main/shell/robots.d/gitlabci.sh
@@ -30,11 +30,11 @@ if [[ "${GITLAB_CI}" = true ]] &&
BUILD_URL_CONSOLE="/"
GITLAB_REPO=${CI_PROJECT_PATH}
BUILD_URL_ARTIFACTS=/artifacts/file/yetus-out
- PATCH_OR_ISSUE="GLSHA:${CI_BUILD_REF}"
- USER_PARAMS+=("GLSHA:${CI_BUILD_REF}")
+ PATCH_OR_ISSUE="GLSHA:${CI_COMMIT_SHA}"
+ USER_PARAMS+=("GLSHA:${CI_COMMIT_SHA}")
add_docker_env \
- CI_BUILD_REF \
+ CI_COMMIT_SHA \
CI_JOB_ID \
CI_JOB_URL \
CI_PROJECT_PATH \