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

Link in About jenkins pointing towards wrong URL

    • 2.306 includes fixes for 3 of the link issues

          [JENKINS-64666] Link in About jenkins pointing towards wrong URL

          Mark Waite added a comment - - edited

          Thanks for reporting the issue.

          I believe that the links in that page are generated from the <url> value that is in the pom.xml of the jar file or war file that is used by Jenkins. Fixing the link in that page will need a fix to the value of the <url> tag in the matching component, then a new release of that component and the inclusion of that new release in Jenkins.

          The first case seems feasible to fix by a change to add the <url> entry into war/pom.xml. I'm not clear on the side effects of adding that tag, but it seems reasonable at first glance.

          Other cases may be more complicated to solve. In some cases (like Google Guice), it may be infeasible to solve until Jenkins is no longer dependent on an old version of Guice. See the discussions of a possible Guava upgrade to get some understanding of the dependency on the old version of Guice.

          The HttpCommons Client Library appears to be trying to use a jenkins.io redirect to point the user to the correct repository for Apache HTTP Commons. You can read about jenkins.io redirects in the jenkins.io CONTRIBUTING doc.

          Mark Waite added a comment - - edited Thanks for reporting the issue. I believe that the links in that page are generated from the <url> value that is in the pom.xml of the jar file or war file that is used by Jenkins. Fixing the link in that page will need a fix to the value of the <url> tag in the matching component, then a new release of that component and the inclusion of that new release in Jenkins. The first case seems feasible to fix by a change to add the <url> entry into war/pom.xml . I'm not clear on the side effects of adding that tag, but it seems reasonable at first glance. Other cases may be more complicated to solve. In some cases (like Google Guice), it may be infeasible to solve until Jenkins is no longer dependent on an old version of Guice. See the discussions of a possible Guava upgrade to get some understanding of the dependency on the old version of Guice. The HttpCommons Client Library appears to be trying to use a jenkins.io redirect to point the user to the correct repository for Apache HTTP Commons. You can read about jenkins.io redirects in the jenkins.io CONTRIBUTING doc .

          Vishal added a comment - - edited

          Thanks for help, markewaite Please check the following observations and add improvements for further work
          Fixing the links from Jenkins can be fixed by redirecting and adding them in Jenkins info
          First link can be fixed changing URL in pom file

          Rest have to be analyzed more whether they are being updated or are their links to redirected and is there going to be complexity by adding URL in pom  file

           

          And during search all the URL for Page in jenkins\war\target\jenkins\WEB-INF\classes\META-INF\licenses.xml
          But that is created after building the
          Also, links could be analyzed by groups in which they are created

          Vishal added a comment - - edited Thanks for help, markewaite Please check the following observations and add improvements for further work Fixing the links from Jenkins can be fixed by redirecting and adding them in Jenkins info First link can be fixed changing URL in pom file Rest have to be analyzed more whether they are being updated or are their links to redirected and is there going to be complexity by adding URL in pom  file   And during search all the URL for Page in jenkins\war\target\jenkins\WEB-INF\classes\META-INF\licenses.xml But that is created after building the Also, links could be analyzed by groups in which they are created

          It's been some time since issue creation.

          Are you working on this vishalghyv?
          If not I could gladly take over.

          Tomasz Szmytka added a comment - It's been some time since issue creation. Are you working on this vishalghyv ? If not I could gladly take over.

          Vishal added a comment -

          tszmytka Please feel free to take over. If there is any issue do let me know

          Vishal added a comment - tszmytka Please feel free to take over. If there is any issue do let me know

          Basil Crow added a comment -

          This has been fixed in recent weeklies.

          Basil Crow added a comment - This has been fixed in recent weeklies.

            basil Basil Crow
            vishalghyv Vishal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: