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

Git Repository Browser URL not saved anymore

    XMLWordPrintable

Details

    Description

      The "Repository Browser" URL is not saved anymore. The value of the popup itself (githubweb, gitoriousweb, etc) is saved, though.

      We just upgraded Jenkins from 1.501 and git-plugin 1.1.26.

      Furthermore, with existing jobs that still have the URL, when you configure and save them without any change, the URL gets removed.

      Looking at the Job Config History, it shows that the <refspec> was removed (but that was empty), and also the <url> inside of the <browser class="hudson.plugins.git.browser.GitoriousWeb"> tag

      Attachments

        Issue Links

          Activity

            markewaite Mark Waite added a comment -

            Will be fixed in the first release after 2.0.4

            markewaite Mark Waite added a comment - Will be fixed in the first release after 2.0.4
            wbsimms William Simms added a comment -

            Thanks!

            wbsimms William Simms added a comment - Thanks!
            markewaite Mark Waite added a comment -

            Fixed in git-plugin 2.1.0

            markewaite Mark Waite added a comment - Fixed in git-plugin 2.1.0
            marc_guenther Marc Günther added a comment -

            I would have really liked to post a groovy script here, that fixes all the now empty URLs, but it is not possible to set the url or the browser programmatically

            So how do I fix the 670 jobs with a browser but no url, that I now have?

            marc_guenther Marc Günther added a comment - I would have really liked to post a groovy script here, that fixes all the now empty URLs, but it is not possible to set the url or the browser programmatically So how do I fix the 670 jobs with a browser but no url, that I now have?
            markewaite Mark Waite added a comment -

            I'd save copies of the job definition config files, stop Jenkins, modify the job definitions in place in the Jenkins directory, then restart Jenkins.

            markewaite Mark Waite added a comment - I'd save copies of the job definition config files, stop Jenkins, modify the job definitions in place in the Jenkins directory, then restart Jenkins.

            People

              ndeloof Nicolas De Loof
              marc_guenther Marc Günther
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: