![]() |
|
|
|
|
Change By:
|
Elifarley
(18/Mar/13 4:57 PM)
|
|
Description:
|
The comparison of a job's repository URL and the URL passed to notifyCommit will fail when the 2 URLs differ slightly, even though they point to the same place.
Example that triggers the problem:
Repository URL
(in job configuration screen)
: http://mymercurialrepo.com.br/hg/main/myproj/ hook configuration: [hooks] commit.jenkins = wget -q -O /dev/null http://myjenkins.com.br/jenkins/mercurial/notifyCommit?url="">incoming.jenkins = wget -q -O /dev/null http://myjenkins.com.br/jenkins/mercurial/notifyCommit?url="">
The URL comparison should first transform both URLs to their canonical form (by appending a slash at the end if one is missing, for instance).
I guess it will also fail if one of the URLs includes an HTTP redirect.
|
|
|
|
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
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.