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.
script: - pipe: atlassian/bitbucket-build-statistics:0.1.0 variables: BITBUCKET_USERNAME: $BITBUCKET_USERNAME BITBUCKET_APP_PASSWORD: $BITBUCKET_APP_PASSWORD
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.
script: - pipe: atlassian/bitbucket-build-statistics:0.2.0 variables: BITBUCKET_USERNAME: $BITBUCKET_USERNAME BITBUCKET_APP_PASSWORD: $BITBUCKET_APP_PASSWORD FILENAME: "build_usage.txt"
Where would I find the output file?
@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.
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
name: 'Get pipeline usage'
- echo "Running usage monitor.."
- pipe: atlassian/bitbucket-build-statistics:0.2.0
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
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