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

Broken link on Console Output of a Promoted build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When looking at the console output of a promoted build, a link is displayed to
      return to the promotion history page (which shows all the promotion listings).
      When selected, this link produces a 404 - page not found error (broken link)

      Pre-requisites
      ++++++++++++++++++++++

      • A project must exist
      • A project must have been successfully built once (at least)
      • Such project/build must have be configured to have 'Promote builds when...
        (beta)' option selected.
      • user must have access to project/builds (tested with admin rights, other users
        may find the same issue)

      Steps to replicate defect:
      ++++++++++++++++++++++++++++++++++++++++++++
      From Hudson's home page:

      • Select a Project, project summary page is shown
      • Select 'Promotion Status' (left navigation), Project Promotions Page is shown
        with a link to the last promoted build of the project
      • Select such promoted build (from list), build summary page is shown
      • Select Promotion Status (left navigation), shows Build Promotions Page, this
        page shows the promotion history listing for this build
      • Select one of the items in the promotion history, Console Output for the
        selected promotion is shown
      • Select 'Back to Promotion Status' link (left navigation), 404 Page Not found
        error shown
      • Go Back, console output is shown again
      • Select 'Promotion Status' link (top navigation), Promotions page is shown again

      Suggested solution:
      ++++++++++++++++++++++
      'Back to Promotion Status' link on left navigation points to:
      http://<hudson_home>/job/<project_name>/<build_number>/promotion/<name_of_promotion_action>/promotionBuilds/

      Instead, it should point to the same place as 'Promotion Status' on top navigation:
      http://<hudson_home>/job/<project_name>/<build_number>/promotion/

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/plugins/promoted-builds/src/main/resources/hudson/plugins/promoted_builds/Promotion/index.jelly
          http://fisheye4.cenqua.com/changelog/hudson/?cs=24897
          Log:
          [FIXED JENKINS-3562] fix broken "Back to Promotion Status" link

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/plugins/promoted-builds/src/main/resources/hudson/plugins/promoted_builds/Promotion/index.jelly http://fisheye4.cenqua.com/changelog/hudson/?cs=24897 Log: [FIXED JENKINS-3562] fix broken "Back to Promotion Status" link

            People

            • Assignee:
              mindless Alan Harder
              Reporter:
              ijcl ijcl
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: