mohamicorp / stash-jenkins-postreceive-webhook

Webhook used to notify Jenkins when commits are made to Stash
Other
138 stars 98 forks source link

Why I push only one branch , but all branches are build? #138

Closed songcy6202 closed 9 years ago

songcy6202 commented 9 years ago

I had read other issues but i can't figure out why still,can u give me help? As I'm not using jeckins , I write a trigger myself and I get http request from the hook and get args from request to do somework .I push one branch to git repository,but I got all branches hook info to my trigger. Is that working correctly?

mikesir87 commented 9 years ago

What are you seeing? What do you mean you "got all branches hook info"? Can you post a sample URL that it's triggering?

songcy6202 commented 9 years ago

Sorry for cofusing you, my english is not good.The hook worked well. After checking the old codes carefully, I found when my trigger got git repo and commid_hash from hook it worked on all branches. I have fixed it.And Thanks a lot !