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

HTML Publisher Plugin creates invalid hypertlinkfor back to hudson

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: htmlpublisher-plugin
    • Labels:
      None
    • Environment:
      Redhat
    • Similar Issues:

      Description

      HTML Publisher Plugin creates invalid hypertlinkfor back to hudson:
      http://localhost:8080/job/Test/xyz/Report/null.

      It could not make me back to hudson, meet "Status Code: 404" instead

        Attachments

          Activity

          Hide
          mcrooney mcrooney added a comment -

          Yes, this happens if you haven't configured your root Hudson URL in "Manage Hudson" -> "Configure System", since it doesn't know how to get back. Do that and it should work.

          Can you think of a better way to handle this?

          Show
          mcrooney mcrooney added a comment - Yes, this happens if you haven't configured your root Hudson URL in "Manage Hudson" -> "Configure System", since it doesn't know how to get back. Do that and it should work. Can you think of a better way to handle this?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mcrooney
          Path:
          trunk/hudson/plugins/htmlpublisher/src/main/java/htmlpublisher/HtmlPublisher.java
          trunk/hudson/plugins/htmlpublisher/src/main/resources/htmlpublisher/HtmlPublisher/header.html
          http://jenkins-ci.org/commit/30886
          Log:
          [htmlpublisher] use javascript to go back for the 'back to hudson link' if the url hasn't been configured in hudson, JENKINS-6434

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mcrooney Path: trunk/hudson/plugins/htmlpublisher/src/main/java/htmlpublisher/HtmlPublisher.java trunk/hudson/plugins/htmlpublisher/src/main/resources/htmlpublisher/HtmlPublisher/header.html http://jenkins-ci.org/commit/30886 Log: [htmlpublisher] use javascript to go back for the 'back to hudson link' if the url hasn't been configured in hudson, JENKINS-6434
          Hide
          mcrooney mcrooney added a comment -

          If the user hasn't configured a Hudson URL, I've made it trigger a browser back via javascript.

          Show
          mcrooney mcrooney added a comment - If the user hasn't configured a Hudson URL, I've made it trigger a browser back via javascript.

            People

            • Assignee:
              mcrooney mcrooney
              Reporter:
              jasperlj jasperlj
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: