Skip to content

Commit

Permalink
add SHORT_SHA to build submit
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoJRotary committed Sep 7, 2018
1 parent 4911840 commit 32381de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gcloud/gcloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ func StartBuild(wg *sync.WaitGroup, repo *app.Repo, name, buildFile string) {
subsList.Push("BRANCH_NAME=" + repo.Branch)
subsList.Push("TAG_NAME=" + repo.Tag)
subsList.Push("COMMIT_SHA=" + repo.AfterSHA)
subsList.Push("SHORT_SHA=" + repo.AfterSHA[:7])
subsList.Push("_GITHUB_INSTALLATION_ID=" + repo.InstallationID)
subsList.Push("_GITHUB_REPOSITORY_NODE_ID=" + repo.RepositoryNodeID)
subsList.Push("_GITHUB_CHECKRUN_ID=" + runID)
Expand Down

0 comments on commit 32381de

Please sign in to comment.