-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Ubuntu Jenkins 1.580.2
When the SCM repository URL is configured with a trailing slash, the notifyCommit will not observe the change without it.
Example...
Mercurial repo is located at http://<scm root>/fooRepo
Jenkins job is defined as http://<scm root>/fooRepo/
notifyCommit URL call is http://<jenkins root>/mercurial/notifyCommit?url=http://<scm root>/fooRepo
The above Jenkins Job is not triggered.
I can call notifyCommit with the trailing slash and only the above job is triggered, no other jobs which are listening to the same repo without the trailing slash.
Due to the large number of job authors on my team, there can be a mix of SCM URL configurations across jobs. I have just begun using the notifyCommit feature and ran across this issue. I think the target should check both URLs ending with or without a trailing slash.