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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How can I create and delete a file in repository, only in pipeline?

For a pipeline, I want to create a file in the repo under some directory and use the content in the next step. Also want to delete the file in the final step. How do I achieve this?

1 answer

1 accepted

0 votes
Answer accepted
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 13, 2022

Hi @Moideen Ubais,

Welcome to the community.

Since the purpose of the file you'd like to create is only during the Pipelines build execution, the best I can suggest is for you to use Bitbucket Cloud Pipelines Artifacts.
Artifacts will allow you to save files and access them in the following steps.

Hope it helps and let me know if you have further questions.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events