hardgcloud

Manually execute a Cloud Build trigger against a specific branch

command

gcloud builds triggers run TRIGGER_ID --branch BRANCH

also accepted

gcloud builds triggers run

Command breakdown

Part of the Google Cloud CLI (gcloud) — Cloud Build category.

gcloudbuildstriggersrunTRIGGER_ID--branchBRANCH
FlagPurpose
--branchBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →