This page explains how to view information about your Cloud Build builds using the Cloud Build dashboard in Google Cloud console.
The Cloud Build dashboard provides a high-level overview of your most recent builds for each build trigger.
The dashboard is organized by cards, where each card is associated with a build trigger in your repository. If there are multiple triggers created in a single repository, there will be multiple cards. These cards are ordered alphabetically by the name of your repository followed by the name of the trigger. You can also pin any card to the top of the page by hovering over the right side of the card and clicking on the pin icon as indicated in the example below:
Cards are titled by the latest outcomes of the build, such as Successful or Failed. The name of the repository and the trigger name follow the result of the latest outcome. Under the title, the card summarizes results related to your most recent builds.
View the dashboard
The Cloud Build dashboard is populated if you have build triggers set up. To learn more about how to set up build triggers, see Creating and managing build triggers.
To view the Cloud Build dashboard:
Go to the Cloud Build dashboard page:
Select your project from the drop-down menu.
You will see the Cloud Build dashboard listing recent builds for your builds triggers.
The Cloud Build dashboard displays the following information:
Latest build: The date and time of your most recent build.
Duration: The duration of your most recent build, in
HH:MM:SS
format.Source: Links to your connected source repository. Your source repository can either be a Cloud Source Repository, a GitHub repository, or a Bitbucket repository.
Commit: Links to the commit that was used for your build.
Failed Step: The failed step that resulted in the build failure, if your most recent build has failed.
If your most recent build has failed, Failed step will link to the step that caused the failure in your build log.
Build History: A bar chart representing the build duration for your 20 most recent builds. You can hover over each bar in the bar chart to view information about each individual build.
Average Duration: The average runtime of your 20 most recent builds, not including builds that are still running.
If the average duration of your build time exceeds 10 minutes and the machine type you specified for your build is
E2_MEDIUM
,E2_HIGHCPU_8
orN1_HIGHCPU_8
, you will see the IMPROVE SPEED button. You can click on IMPROVE SPEED to view recommendations on how to improve the speed of your build. To learn more, see Best practices for speeding up builds.Pass - Fail %: The average pass/fail ratio of your 20 most recent builds.
Filter cards
To filter cards on your dashboard, click the Filter triggers option at the top of the Cloud Build dashboard page:
You can filter cards by:
- Trigger source: the name of your source repository.
- Trigger name: the name of your trigger.
- Trigger description: the description of your trigger.
What's next
- Learn how to store and view build logs.
- Learn how to configure notifications using the Slack notifier.
- Learn how to configure notifications using the SMTP notifier.
- Learn how to troubleshoot build errors.