Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Devops: Enable branch matching for pull request source branch #109

Open
Kieranties opened this issue Apr 28, 2020 · 0 comments
Open
Labels
✨ feature New feature or request 🏆 good first issue Good for newcomers
Milestone

Comments

@Kieranties
Copy link
Owner

When building on Azure devops the checked out branch is a PR branch.
This is correctly identified, however it does not allow for simple tracking of the source branch

Describe the solution you'd like
It would be good if the original source branch could be identified through some tokens such as {sourceBranchName} and {shortSourceBranchName} so that the values could still be used in version strings label/metadata

Additional context
See pre-defined strings here: https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#build-variables

@Kieranties Kieranties added ✨ feature New feature or request 🏆 good first issue Good for newcomers labels Apr 28, 2020
@Kieranties Kieranties added this to the 0.4.0 milestone Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New feature or request 🏆 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant