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

Delete bitbucket pipeline builds

harigopalakrishna_complia January 20, 2017

How to delete old pipeline builds?

4 answers

1 accepted

10 votes
Answer accepted
harigopalakrishna_complia January 23, 2017

Joshua, thanks for your response. I'll follow-up with a ticket.

Will this be self serviceable in the future?

Hari

xtjhin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2017

Possibly. Understanding a bit more on the why would help me provide a better answer though.

harigopalakrishna_complia January 26, 2017

Two immediate needs:

  1. In one of my repository, I tried pipelines and don't want to use it going forward - So, i'd like to disable pipeline and delete all the builds
  2. In one of my other repo, I printed all the environment variables as part of build to understand what is out there for me to consume and realized I did not secure an api key as secure environment variable, which I don't want to stay exposed.

Thanks,Hari

xtjhin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 26, 2017

That sounds like a reasonable use case to be able to delete builds/logs. Would deleting logs be sufficient?

For now, if you would like the logs deleted, please open a support ticket with us https://support.atlassian.com/servicedesk/customer/portal/11/create/119

Thanks for your feedback

harigopalakrishna_complia January 27, 2017

Will do - Thanks Joshua!

1 vote
xtjhin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 22, 2017

Hi Hari,

There currently isn't a way for a user to delete builds in Pipelines.

Could you raise a request on https://bitbucket.org/site/master/issues/new with why you need to delete builds?

Thanks

0 votes
Rajpal December 26, 2019

# This is a sample build configuration for PHP.
# Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: php:7.1.29

pipelines:
default:
- step:
caches:
- composer
script:
- git init --user $FTP_USERNAME --passed $FTP_PASSWORD ftp://   var/www/html/

0 votes
Yana
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 25, 2018

I have now created a Master site issue for this feature request, it can be tracked here: 

https://bitbucket.org/site/master/issues/15567/have-the-ability-to-purge-data-from 

Cheers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events