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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/cb78bb2b-1209-49b7-832a-e95f470a62fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to