I have some extra lines of code that I want to be added to repository during the build pipeline.
So, I want to introduce a stage in build pipeline in bamboo which allows me to make changes to files and commit them to bitbucket.
@Biplav Timalsina Welcome to the community!
Best way I can think of doing this by adding Script Task to your build process. In this task you can add a script to,
I referred this document for help - https://confluence.atlassian.com/bamkb/how-to-commit-and-push-to-a-git-repo-during-a-build-720641378.html
Thank you for your response. I think this will work.
I just found an easier way to do this. https://confluence.atlassian.com/bamboo/configuring-a-source-control-task-956167494.html.
Seems like Bamboo has inbuilt support to push code from build pipeline to repository using the source control task.
Thank you tons!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.