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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Does artifacts in Bitbucket pipelines get replaced?

I'm working with bitbucket pipelines and I want to archive a build folder every time the pipeline runs. But the artifacts dont get replaced by new one. How can I make new artifacts available for each build.

2 answers

1 accepted

0 votes
Answer accepted

Hi @Ci Admin ,

An artifact is produced by a step of a build, and it is therefore associated with that build. You cannot replace artifacts produced by and associated with a different build.

Why would you need to replace artifacts of previous builds?

I'm not sure what your use case is, if you could provide us with some more context, we may be able to find a different way to achieve what you want.

If the archived folder is not too large, one idea would be to upload the archived folder in the Downloads section of the repo. You can use the following pipe for this:

Uploading a new file with the same name will replace the existing file in the Downloads section of the repo. Is this something that would work for you?

Kind regards,
Theodora

0 votes

How about write a clean workplace script? 

Will it help you?

I haven't found anything that could clear the stored artifacts in pipeline.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Posted in Bitbucket

Contest: Share your custom Bitbucket Pipe and win

Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...

2,126 views 11 6
Join discussion

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