Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

view outputs from atlassian/bitbucket-build-statistics:0.1.0


I'm new to pipelines, which is probably part of my issue.


Following the blog post introducing this pipe:



I've created and deployed a pipeline using the template yaml file.

  - pipe: atlassian/bitbucket-build-statistics:0.1.0

where I've used my username and app password.

The pipeline runs and completes successfully, but I do not see any report on build statistics. Where is the output shown?

I've also tried adding the filename option.

    - pipe: atlassian/bitbucket-build-statistics:0.2.0
        FILENAME: "build_usage.txt"

Where would I find the output file?


1 answer

0 votes

@cyberhedge it should be found inside current working dir in the pipeline.

How you're looking for it?

Try $(cat build_usage.txt) .

I executed this and succeeded.


Also, it depends on what should be done after. Now the pipe just outputs this to given file and to stdout, both.

Regards, Galyna

@Galyna Zholtkevych

I run the pipeline from the bitbucket web page by clicking the "run pipeline" button at the top of screen.

this does not give me access to a terminal or to command prompt (or if it does, I don't know how to access them).

Without terminal access, I do not see the output to stdout, nor do I know how to access the file, since I don't know what filesystem the file is on or how to access that file system.

What filesystem does the pipeline run in? How do I access the file system?

The full pipeline is (the cut/paste destroyed the yaml indents)

# This is an example Starter pipeline configuration
# Use a skeleton to build, test and deploy using manual and parallel steps
# -----
# You can specify a custom docker image from Docker Hub as your build

image: atlassian/default-image:2

name: 'Get pipeline usage'
echo "Running usage monitor.."
pipe: atlassian/bitbucket-build-statistics:0.2.0


Screenshot 2020-12-03 at 13.44.36.png

Ok, I figured it out. If I look at the output of the build log, I can see that the pipe: atlassian/bitbucket-build-statistics ran for 21s. Clicking the little arrow on the far right opens the log output. The needed data is there, at the end of the log output.

@cyberhedge exactly. Contact us if you want to raise more questions.

Cheers, Galyna

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

824 views 17 21
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you