jenkinsci/scm-sync-configuration-plugin — pull request #20 by kiana (2014-05-14 19:27:05+00:00)
Title: fix for JENKINS-23036 : using rootURL (not rootUrl) for some jelly files...

This pull request changes the rootUrl variable to rootURL, as suggested by:
https://wiki.jenkins-ci.org/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins.

The bug inexplicably only affects HTML anchors, and not Help attributes. JEXL syntax indicates variables are case sensitive, which provides some insight into why this predefined object did not work for Jenkins instances with context paths.

Unfortunately we could not write tests for this, as there is no (easily found) documentation on how to test rendered Jenkins jelly files. We were able to manually test and validate the fix on older and newer versions of Jenkins, as well as Jenkins instances that do and do not contain context paths.