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

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

      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

          [JENKINS-58534] Impossible to access promotion's console output (navigation is broken from links and breadcrumbs)

          Oleg Nenashev added a comment -

          I will try to fix it next week

          Oleg Nenashev added a comment - I will try to fix it next week

          I am also facing this issue.

          Raghwendra Sonu added a comment - I am also facing this issue.

          Rita S added a comment -

          I have the same issue.

          Rita S added a comment - I have the same issue.

          I am facing same issue. Is there any timeline when the issue gets resolved?

          sheela vasudevan added a comment - I am facing same issue. Is there any timeline when the issue gets resolved?

          Tammy Osborn added a comment -

          I see the same thing. And like slav dok, once I downgraded to Promoted Builds version 3.2, navigation was fixed.

          Tammy Osborn added a comment - I see the same thing. And like slav dok, once I downgraded to Promoted Builds version 3.2, navigation was fixed.

          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
           
           

          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    

          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.

          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.

          Daniel Beck added a comment -

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

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

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - Thanks to danielbeck , the fix was released in 3.4:  https://github.com/jenkinsci/promoted-builds-plugin/releases/tag/promoted-builds-3.4

          Bhakti Joshi added a comment -

          Hi,

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

          Any help here.

          Bhakti Joshi added a comment - Hi, I am still facing same issue with plug-in version 3.4. Any help here.

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

              Created:
              Updated:
              Resolved: