Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12826

empty repository browser url gives tomcat error page on different scm plugins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • jenkins 1.451, tomcat 7.0.25, cvs 2.0, git 1.1.15, svn 1.39, mercurial 1.38

      i was trying the mercurial plugin and selected repository browser bitbucket but didn't enter an url, this causes an error 500 from tomcat, which make it a bit difficult to figure out what is actually wrong (I though that the repository url was wrong initially).

      javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.plugins.mercurial.MercurialSCM
      root cause
      java.net.MalformedURLException: no protocol:

      the same happens on the config page for cvs, git and svn (at least, thats all scm plugins I have installed), it would be nice if the url is validated on the config page similar to other config parameters to get a red error message.

            Unassigned Unassigned
            alexlehm Alex Lehmann
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: