Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Map git parameters to hock parameters

Дмитрий Попов
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 5, 2015

Is there any availability to pass any parameter of hook. Consider hook has been fire on merge after pull request, can I pass this branch name to executable using this hook?

1 answer

0 votes
Stanislav Seletskiy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 6, 2015

You should be able to do this by reading stdin. All ref updates will come line-by-line in format <old-value> <new-value> <ref-name>. <ref-name> is the name of branch you are looking for.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events