I am executing Pipelines build manually. It appears the only way to do this is to select a commit and run a pipeline. This leads to a checkout of the commit rather than the branch it is on (if only one). I need to apply the current branch name to assets that are produced. There doesn't seem to be any way to determine the branch as the repo is checked out with a "detached HEAD". The BITBUCKET_BRANCH variable is empty.
Is there (could there be) a way to kick off a manual build from a branch rather than a commit?
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
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