We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cba0459 commit a68a3e7Copy full SHA for a68a3e7
.buildkite/hooks/pre-command
@@ -8,5 +8,5 @@ echo "Semantic version = \"${CONTAINER_SEMVER}\""
8
export CONTAINER_SHORT_SHA=$(git log -1 --pretty='%h')
9
echo "Short SHA = \"${CONTAINER_SHORT_SHA}\""
10
11
-export CONTAINER_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD | sed -e 's/[\/:]/_/g')
+export CONTAINER_BRANCH_NAME=$(echo "$BUILDKITE_BRANCH" | sed -e 's/[\/:]/_/g')
12
echo "Safe branch name = \"${CONTAINER_BRANCH_NAME}\""
0 commit comments