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

Git Repository Browser URL not saved anymore

    XMLWordPrintable

    Details

    • Similar Issues:

      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

            Hide
            markewaite Mark Waite added a comment -

            Will be fixed in the first release after 2.0.4

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

            Thanks!

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

            Fixed in git-plugin 2.1.0

            Show
            markewaite Mark Waite added a comment - Fixed in git-plugin 2.1.0
            Hide
            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?

            Show
            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?
            Hide
            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.

            Show
            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

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

                Dates

                • Created:
                  Updated:
                  Resolved: