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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.