Yes, a quick review of the code seems to confirm that. Thanks.
On Friday, July 22, 2016 at 3:55:23 PM UTC-7, Mark Waite wrote: > > As far as I know, the git plugin intentionally honors the hostname and > port portion of the url parameter when processing notifyCommit messages. > > It includes some heuristics that attempt to guess if two URL's are the > same, and it applies those heuristics when comparing the URL defined in the > job with the url parameter of the notifyCommit request. > > Mark Waite > > On Fri, Jul 22, 2016 at 3:54 PM Michael Giroux <[email protected] > <javascript:>> wrote: > >> I have configured Jenkins job to use git url: >> http://stash.server/scm/prj/repo.git >> >> Our repositories reside in Stash, and using the Stash Webhook to >> Jenkins. The default url for the notifyCommit is >> http://localhost/scm/prj/repo.git. >> >> Then curl >> http://jenkins.server/git/notifyCommit?url=http://localhost/scm/prj/repo.git >> == no jobs found >> >> curl >> http://jenkins.server/git/notifytCommit?url=http://stash.server/scm/prj/repo.git >> == triggers the job >> >> For some reason, I have the impression that the git plugin would ignore >> the host name and port when processing notifyCommit messages. Is this >> correct? >> >> >> Michael >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/cb78bb2b-1209-49b7-832a-e95f470a62fe%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/cb78bb2b-1209-49b7-832a-e95f470a62fe%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ea9727ce-245f-4701-9cb4-a8917e2307c2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
