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
Fix PR info passed and delete shadow merge #75
Fix PR info passed and delete shadow merge #75
Conversation
The shadow merge was a feature provided by some other user, see #70. Can't you fix in a way that shadow merge remains? |
What for? We have information about PR in TeamCity. If we want merge, ok. Just create "command line" step in TeamCity. |
That means u delegate that functionality for users to deal with when it can be provided straight from the hook side? I mean I understand everything can be done I'm teamcity side, but that doesn't count as a feature from this hook right? @dzwicker wanna share your opinion, since this is your use case. I can revert it if you agree with @ivan1767p |
I mean I understand everything can be done I'm teamcity side, but that doesn't count as a feature from this hook right?
In version 4.10.1 PR info passed is broken. |
Well in that case this is also redundant, the hook was earlier already sending that info via comment to teamciy we are using this since start. Also u can get the pr ID using bitbucket rest api you just need really the branch. And all this assumes that you are doing client side checkout, server side checkout you are left hanging. But yeah, as said, lefts just get opinion of @dzwicker if his fine with it, let's revert this then |
Well in that case this is also redundant, the hook was earlier already sending that info via comment to teamciy we are using this since start. |
What we do we use the teamciy rest api to get all that information. All that is avaliable if you use curl or whatever. The point is your method is a more clean way of doing it, I can see that. However I can see also that shadow merge from the hook side is also cleaner than forcing users to write their own logic on a teamciy step. |
@jmecosta, about shadow merge. Please see https://jira.atlassian.com/browse/BSERV-12284
#70 not worked for Atlassian Bitbucket v7.x. It's fact. Release 4.10.1 is broken! |
@ivan1767p alright, then all good for me to revert. thanks for the reference ticket.. that i supose explains why it didnt work either in your previous email |
@ivan1767p thanks for this, its now release in marketplace. https://marketplace.atlassian.com/manage/apps/1215178/versions/300000270/details |
@jmecosta , thank you! |
Fix PR info passed to TeamCity build. I think shadow merge no need. Because we can merge any PR in build TC.
Tested environment:
TeamCity Professional 2020.2.4 (build 86063)
Atlassian Bitbucket v7.6.3