Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
save
  • Loading branch information
Nikhil Thorat committed Sep 9, 2019
commit 751b37eff13cc2122f02321ed64f0816894e21e6
3 changes: 3 additions & 0 deletions cloudbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ steps:
- 'COMMIT_SHA=$COMMIT_SHA'
- 'BRANCH_NAME=$BRANCH_NAME'
- 'REPO_NAME=$REPO_NAME'
- 'HEAD_BRANCH=$HEAD_BRANCH'
- 'BASE_BRANCH=$BASE_BRANCH'
- 'REPO_OWNER=$REPO_OWNER'

# Core.
- name: 'gcr.io/cloud-builders/gcloud'
Expand Down
1 change: 1 addition & 0 deletions scripts/diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const dirs = readdirSync('.').filter(f => {
return f !== 'node_modules' && f !== '.git' && statSync(f).isDirectory();
});

console.log(process.env);
console.log('REPO NAME', process.env['REPO_NAME']);
let commitSha = process.env['COMMIT_SHA'];
let branchName = process.env['BRANCH_NAME'];
Expand Down