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

Impossible to access promotion's console output (navigation is broken from links and breadcrumbs)

    Details

    • Similar Issues:

      Description

      This works fine in Promoted Builds version 3.2, but breaks once you upgrade to 3.3

      Usually, you can access the promotion's console output by:

      • Selecting Build job (for example "Build_Job")
      • Selecting Build Number (for example "#5")
      • Clicking Promotion Status link
      • Picking a promotion from the list (for example "Promo1 > #2")

      This will provide navigation breadcrumbs like:
      Jenkins > Build_Job > #5 > Promotion Status > #2

      At the same time, the URL would be like:
      server_url:port/job/Build_Job/5/promotion/Promo1/promotionBuild/2/console

      After upgrading to 3.3

      • The URL remains same, but the UI loops back to the console output of the build, not the console output of the promotion.
      • The breadcrumbs also loop back to the build's console output
        Jenkins > Build_Job > #5 > Promotion Status > #5
      • Instead of seeing console output of "Promo1 > #2", I am seeing console output of "Build_Job > #5" (even though I am in the "Promotion Status" page and selecting promotion's builds)

      It becomes impossible to access Promotion's console output no matter what navigation route you take.

      The promotions actions still seem to happen fine, and the console output can be found directly on the filesystem at:
      $JENKINS_HOME/jobs/Build_Job/promotions/Promo1/builds/2/log

      Seems like the bug is only in navigation, and the behaviour corrects itself when downgrading to Promoted Builds version 3.2

        Attachments

          Issue Links

            Activity

            Hide
            bhaktij Bhakti Joshi added a comment -

            Hi,

            I am still facing same issue with plug-in version 3.4.

            Any help here.

            Show
            bhaktij Bhakti Joshi added a comment - Hi, I am still facing same issue with plug-in version 3.4. Any help here.
            Show
            oleg_nenashev Oleg Nenashev added a comment - Thanks to Daniel Beck , the fix was released in 3.4:  https://github.com/jenkinsci/promoted-builds-plugin/releases/tag/promoted-builds-3.4
            Hide
            danielbeck Daniel Beck added a comment -

            I proposed a PR fixing this as JENKINS-59600 so closing this as a duplicate of that later issue.

            Show
            danielbeck Daniel Beck added a comment - I proposed a PR fixing this as JENKINS-59600 so closing this as a duplicate of that later issue.
            Hide
            ph33rtehgd Jeff Y added a comment -

            +1 for this. Is there any workaround besides downgrading or manually going to the filesystem and looking at the log? I'm on a new Jenkins instance and can't downgrade, and checking the filesystem is pretty tedious as it sits on a box which only a few people have access to look at.

            Show
            ph33rtehgd Jeff Y added a comment - +1 for this. Is there any workaround besides downgrading or manually going to the filesystem and looking at the log? I'm on a new Jenkins instance and can't downgrade, and checking the filesystem is pretty tedious as it sits on a box which only a few people have access to look at.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            > I am facing same issue. Is there any timeline when the issue gets resolved?
             
            I plan to take a look at it in September, but cannot commit on it. Too many other emergencies, sorry
             
             

            Show
            oleg_nenashev Oleg Nenashev added a comment - > I am facing same issue. Is there any timeline when the issue gets resolved?   I plan to take a look at it in September, but cannot commit on it. Too many other emergencies, sorry    

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                slavd slav dok
              • Votes:
                5 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: