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

Nested View Plugin creates wrong links using the build server's domain name

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: nested-view-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.580.2 (LTS)
      Nested View Plugin 1.14
    • Similar Issues:

      Description

      I have a nested view with two portlets: A job list and a unit test statistics grid.
      On one of the two, I get absolute links based on what's configured in "Manage Jenkins... Configure System... Jenkins URL" instead of just relative links starting with "/"

      Here's an example: My build server's DNS name is "build.foo.com", but I'm also configuring a new build server "newbuild.foo.com". I've configured on both that the Jenkins URL is "http://build.foo.com".

      Working on "newbuild.foo.com" shows the problem:
      Jenkins normally doesn't care about that configuration when creating links to jobs: For my "base" job for instance, I get <a class="model-link inside" href="job/base/">base</a>

      But in the Nested View Plugin, I sometimes get the URL above, but also <a class="model-link" href="http://build.foo.com/view/bar/view/Projects/job/base/">base</a> - which means that the configuration is used to build that link.

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          Not a bug. You're deliberately specifying a wrong value in configuration.

          Show
          danielbeck Daniel Beck added a comment - Not a bug. You're deliberately specifying a wrong value in configuration.

            People

            • Assignee:
              Unassigned
              Reporter:
              cristalp cristalp
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: