Skip to content

Commit df21279

Browse files
author
Doug Greiman
committed
Add BUILD_ID and COMMIT_SHA builtin substitutions.
1 parent 2ed2735 commit df21279

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/local_cloudbuild.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,13 @@
6161

6262
# Default builtin substitutions
6363
DEFAULT_SUBSTITUTIONS = {
64+
'BRANCH_NAME': '',
65+
'BUILD_ID': 'abcdef12-3456-7890-abcd-ef0123456789',
66+
'COMMIT_SHA': '',
6467
'PROJECT_ID': 'dummy-project-id',
6568
'REPO_NAME': '',
66-
'BRANCH_NAME': '',
67-
'TAG_NAME': '',
6869
'REVISION_ID': '',
70+
'TAG_NAME': '',
6971
}
7072

7173
# File template

0 commit comments

Comments
 (0)