-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add support for deleting a branch on merge in BitBucket Server #1792
Add support for deleting a branch on merge in BitBucket Server #1792
Conversation
…ranch' into feature/bitbucketserver-delete-branch # Conflicts: # server/events/vcs/bitbucketserver/client.go
Can we get a review on this PR? |
Thanks for your contribution! |
I just looked through all the server/events/vcs clients and none of them actual test for DeleteSourceBranchOnMerge. If they have it then the value is always set to false. So how would I write a portable test for this. Do you all have a specific version BitBucket server in place? |
Nvm, I think I see a path forward on how to write a test. |
…lantis#1792) * Add support for deleting a branch on merge in BitBucket Server * Add support for deleting a branch on merge in BitBucket Server * Making linter happy although the code would fall through and return err anyway. * Add client_test for deleting source branch * Added err check Co-authored-by: Wendell Beckwith <[email protected]>
This PR adds the support for the delete_source_branch_on_merge attribute of a atlantis.yaml file for the BitBucket Server.