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

Build results page shows wrong link for Copied To and Copied From

    XMLWordPrintable

Details

    Description

      The link for Copied To and Copied From is missing the context in the URL.
      Local fix already available, will create patch/pull request in the next day(s).

      Attachments

        Activity

          Fix is available with pull request https://github.com/jenkinsci/jobcopy-builder-plugin/pull/1.

          Would be great if you can have a look and merge when you think the change is OK.

          christiangalsterer Christian Galsterer added a comment - Fix is available with pull request https://github.com/jenkinsci/jobcopy-builder-plugin/pull/1 . Would be great if you can have a look and merge when you think the change is OK.
          ikedam ikedam added a comment -

          This can be reproduced when running Jenkins not in a root context (for example, running on http://localhost/jenkins/, not on http://localhost/).
          Most easy way:

          1. rewrite the parent version in pom.xml to 1.509.
          2. run with hpi:run
          3. access Jenkins (http://localhost:8080/jenkins/)
          4. run job copy builder in a job.
          5. open build status page. The link is dead
          ikedam ikedam added a comment - This can be reproduced when running Jenkins not in a root context (for example, running on http://localhost/jenkins/ , not on http://localhost/ ). Most easy way: rewrite the parent version in pom.xml to 1.509. run with hpi:run access Jenkins ( http://localhost:8080/jenkins/ ) run job copy builder in a job. open build status page. The link is dead

          Code changed in jenkins
          User: Christian Galsterer
          Path:
          src/main/resources/jp/ikedam/jenkins/plugins/jobcopy_builder/CopiedjobinfoAction/summary.jelly
          http://jenkins-ci.org/commit/jobcopy-builder-plugin/8fc94b81a2bd7d39e434804e78d8b80575308f96
          Log:
          fixes JENKINS-21080

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christian Galsterer Path: src/main/resources/jp/ikedam/jenkins/plugins/jobcopy_builder/CopiedjobinfoAction/summary.jelly http://jenkins-ci.org/commit/jobcopy-builder-plugin/8fc94b81a2bd7d39e434804e78d8b80575308f96 Log: fixes JENKINS-21080

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/resources/jp/ikedam/jenkins/plugins/jobcopy_builder/CopiedjobinfoAction/summary.jelly
          http://jenkins-ci.org/commit/jobcopy-builder-plugin/fec0b7b3c1c3a6d3328428d54eae231eb2af7d29
          Log:
          Merge pull request #1 from christiangalsterer/master

          fixes JENKINS-21080: links to jobs in build status page is dead when running Jenkins on a non-root context.

          Compare: https://github.com/jenkinsci/jobcopy-builder-plugin/compare/633d68c06fb6...fec0b7b3c1c3

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/resources/jp/ikedam/jenkins/plugins/jobcopy_builder/CopiedjobinfoAction/summary.jelly http://jenkins-ci.org/commit/jobcopy-builder-plugin/fec0b7b3c1c3a6d3328428d54eae231eb2af7d29 Log: Merge pull request #1 from christiangalsterer/master fixes JENKINS-21080 : links to jobs in build status page is dead when running Jenkins on a non-root context. Compare: https://github.com/jenkinsci/jobcopy-builder-plugin/compare/633d68c06fb6...fec0b7b3c1c3
          ikedam ikedam added a comment -

          fixed in 1.1.2.

          ikedam ikedam added a comment - fixed in 1.1.2.

          People

            ikedam ikedam
            christiangalsterer Christian Galsterer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: