Use circleci build number instead of git hash, as we can have multiple builds for a given hash.
This commit is contained in:
1 parent
5094e84af3
commit
8d1b161d4f
1 file changed
+2
-2
+2
-2
@@ -14,8 +14,8 @@ TEMPLATE_NAME="test-template"
|
||||
ZONE=us-central1-a
|
||||
NUM_HOSTS=2
|
||||
SUFFIX=""
|
||||
if [ -n "$CIRCLECI" -a -n "$CIRCLE_SHA1" ]; then
|
||||
SUFFIX="-${CIRCLE_SHA1:0:7}"
|
||||
if [ -n "$CIRCLECI" ]; then
|
||||
SUFFIX="-${CIRCLE_BUILD_NUM}"
|
||||
fi
|
||||
|
||||
# Setup authentication
|
||||
|
||||
Reference in new issue
Block a user