Hi there,
I am currently trying to improve our pipeline workflow, which I almost got to the point that we want it except for the last pipeline that we want.
We need a custom pipeline that can create a build for us and then commit it back. The reason we want this to be a custom pipeline is because we don't always need a new build of our css/js files (for example after only changing PHP files, plus only when a branch is completely done to prevent merge conflicts).
After a lot of struggling I found out that the variables page says this about the BITBUCKET_BRANCH variable:
The source branch. This value is only available on branches.
Not available for builds against tags, or custom pipelines.
Does anyone know how I can create a custom pipeline that can commit back to the branch it's coming from?
Thanks in advance!
Hi @[deleted]
Does this guide help? https://community.atlassian.com/t5/Bitbucket-Pipelines-articles/Pushing-back-to-your-repository/ba-p/958407
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.