Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to get the Merge details with plugin

anil kumar March 12, 2014

Hi All,

I tried with merge check and controlled the pull request with casual user and Admin.

I referred the below urls and succeed with first merge request check!

https://developer.atlassian.com/stash/docs/latest/reference/plugin-module-types/merge-check.html

https://developer.atlassian.com/stash/docs/latest/tutorials-and-examples/controlling-when-pull-requests-can-be-merged.html

1)

Now, I want to ge these merge details. Means which branch pull request happened and which branch to where the merge happened etc., i.e., I need all the merge details. And I have to print/show these some where.

For this I created "PROJECT1" in satsh server

2)

Yesterday I have gone through "Pre Repository Hook Plugin Module" and in onRecevice(){ } I added some hookResponse.out.println("===") statements and I able to see it on client console i.e., on git.

Later I tried the merge check sample

after running atlas-run for this. I found that My earlier "PROJECT1" got deleted from stash server, is it correct?.

Can anyone please suggest how can I achieve it..

Regards

Anil

2 answers

0 votes
anil kumar March 12, 2014

And when I do git merge branch name. what method will call in atlanta stash SDK..?

.I mean I want to do after completion of merge..how can I do it..?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events