View your pipeline

As soon as you want to turn your code from static files in a repository, into something you perform actions with, you'll want to start using the Pipelines section of Bitbucket. From here you can see the status of your pipeline, get detailed log information from its run, and a variety of other useful data.


  1. Access Pipeline history view
  2. Pipeline status bar (with ability to rerun)
  3. Log view area
  4. Expanding your log screen

1. Pipeline history view

Your pipeline history and each pipelines' status can always be accessed in the Pipelines section. First you'll see your pipelines history view, which has all sorts of useful details:

image of pipelines history view

You can filter this view by clicking on a branch name.

Then, once you click on a specific pipeline, you'll be taken to the pipeline result view (see the picture at the top of the page).

2. Pipeline status

At the top of your pipeline result view you can immediately see the status of your pipeline. Possible statuses are:

Pending - we are setting up your build containers, getting ready to start

In progress - your pipeline is currently running

Stopped - either manually, or due to a system event

Paused - your deployment pipeline is currently paused because another pipeline is deploying

Successful - everything went well!

Successful - all automatic steps have ran successfully but there is a manual step still waiting

Failed - a step within your pipeline failed

Error - an error with your pipeline (for example a misconfigured bitbucket-pipelines.yml file)

System error - something on our end went wrong (sorry!)

While your pipeline is running you'll be able to see steps currently running and, once it's finished, the page remains as a record that you can look back on at any time.

Rerun a pipeline or step

If a pipeline fails, you have the option to rerun the whole pipeline, or any failed steps, by clicking Rerun.

image showing pipeline steps in GUI

When you rerun a step, the existing pipeline will update with the new details. You can check the total amount of build minutes consumed by a step by hovering over the step duration. In the example image below, the first run took 6 seconds, and the second run took 5 seconds, so the build minutes used in total by that step is 11 seconds.

Keep in mind that build artifacts are only kept for 7 days, so steps that consume artifacts can only be rerun within that time.


If you want to check how many build minutes you've used across all of your builds, select your Avatar (in the bottom left) > Bitbucket settings > Plan details.

3. Log view

Clicking on a step shows you its logs, in the log view on the right hand side. By default you'll be shown the build logs of the last step that ran, but depending on your configuration you might also have tabs for any services you've added, test reports, or artifacts

There are expandable sections for each command within your step, so you can see more details.

image showing expanded section

4. Customizing your view

If you need more screen space to view your logs, you can use the expand icon in the bottom right corner. As with other Atlassian products, it's also possible to collapse the left hand navigation bar.



What's next?

Now you've seen how you can work with your pipelines, you can learn how to set up your pipelines by editing the bitbucket-pipelines.yml

Last modified on Nov 13, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.