Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git-plugin
Created: 19/Jan/15 8:03 AM
Description:

I want to trigger build if someone commit in Bitbuket's specific branch. Current...
I want to trigger build if someone commit in Bitbuket's specific branch. Currently we can mention which branch to build but on setting remote triggers it trigger build on code commit in any branch not only in given branch.
I set Jenkins hook as well as post receive hook which triggers build remotely but by giving branch name it give error that no git repo or branch is set.

[http://server/jenkins/git/notifyCommit?url="" class="error">[&branches=dev]]
Gives Response:
No git jobs using repository: g...@bitbucket.org:myrepo,git[ and branches: dev]
No Git consumers using SCM API plugin for: g...@bitbucket.org:myrepo.git[

http://jenkins/git/notifyCommit?url="">
works fine and triggers build but as soon as I mention branch in url like:
http://server/jenkins/git/notifyCommit?url="">[&branches=dev] 

No git jobs using repository: g...@bitbucket.org:myrepo,git[ and branches: dev]
No Git consumers using SCM API plugin for: g...@bitbucket.org:myrepo.git[

Project: Jenkins
Priority: Major Major
Reporter: Faisal Rabbani
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to