Column extensions: job.url in column.jelly is wrong in non-default views

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      See https://issues.jenkins-ci.org/browse/JENKINS-23623, if you use ${job.url} in a column extension, it is working in the default view, but breaks in a non-default view.

      In the default view, the link is:
      http://localhost/job/test-job/lastSuccessfulBuild/jacoco/

      However in a different view, it is rendered as:
      http://localhost/view/Coverage/view/Coverage/job/test-job/lastSuccessfulBuild/jacoco/

      i.e. duplicating the "view/Coverage/" part.

      There are multiple extensions which currently break because of this, at least the jacococolumn in jacoco-plugin and a number of columns in the extra-columns-plugin, see https://github.com/jenkinsci/extra-columns-plugin/search?utf8=%E2%9C%93&q=job.url

      Workaround seems to be to use ${jobBaseUrl}${job.shortUrl} instead of ${job.url} as this leads to working URLs always.

            Assignee:
            Unassigned
            Reporter:
            centic
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: