We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba1c409 commit fe18ee0Copy full SHA for fe18ee0
tools/terraform.sh
@@ -154,7 +154,7 @@ function tf_plan {
154
if [[ $HOSTNAME =~ "bwpm-"* ]]; then
155
export CI=true
156
# shellcheck disable=SC2155
157
- export CI_COMMIT_REF_NAME=$(git branch --show-current)
+ export CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME:$(git branch --show-current)}
158
159
# shellcheck disable=SC2046
160
local remote=$(git config get branch.$(git branch --show-current).remote)
0 commit comments