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

Promoted Build Plugin shows 404 on promotion log.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • promoted-builds-plugin
    • None
    • Windows 2008
      Jenkins 1.510
      Run under Winstone/Windows Service
      Promoted Build Plugin 2.10
      Project Based Security Matrix
      Active Directory Authentication and Group ACLs

      Upon a restart of Jenkins, all data related to the promoted build plugin displays correctly. After Jenkins has been up for a period of time (usually 30 minutes to 1 hour), data will start to display incorrectly. Examples:

      1. If a promotion failed, the icon in the Build History area will show a normal promotion star as opposed to the failed promotion icon.
      2. In the "Promotion Status", all promotions will show as "No build promoted so far." despite the fact that there are multiple promotions.
      3. After drilling into a specific build, and clicking on "Promotion Status", no details are shown in the "Promotion History" and if your click on the "log" link, you receive a "Status Code: 404" error without a stacktrace or exception.

      If Jenkins is restarted, all of the above examples will display correctly again for a limited amount of time before reverting back to the incorrect behavior.

          [JENKINS-17544] Promoted Build Plugin shows 404 on promotion log.

          Alex Klein added a comment -

          I've also run into this problem, very problematic.

          Alex Klein added a comment - I've also run into this problem, very problematic.

          If I am the person who manually approved a promotion I see a hyperlink in the promotion history that, when clicked, properly takes me to the promotion log. However, if somebody / something else triggered the promotion, while I can see who triggered the promotion, a hyperlink is not included (why not?). In this case the only thing I get is the line "Successfully promoted (log)" in the Status section for the promotion. The URL for this promotion is <JENKINS_URL>/<JOB>/<BUILD_NUMBER>/promotion/<PROMOTION_NAME>/lastSuccessful. Unfortunately the lastSuccessful segment does not map to anything and hence the 404.

          Jonathan Zimmerman added a comment - If I am the person who manually approved a promotion I see a hyperlink in the promotion history that, when clicked, properly takes me to the promotion log. However, if somebody / something else triggered the promotion, while I can see who triggered the promotion, a hyperlink is not included (why not?). In this case the only thing I get is the line "Successfully promoted (log)" in the Status section for the promotion. The URL for this promotion is <JENKINS_URL>/<JOB>/<BUILD_NUMBER>/promotion/<PROMOTION_NAME>/lastSuccessful. Unfortunately the lastSuccessful segment does not map to anything and hence the 404.

          Oleg Nenashev added a comment -

          Sorry, over last months I had no time to work on the plugin, because I had to focus on the Jenkins core and other projects. I also have not been using this plugin on my own since 2016. So I have decided to unassign the issues so that there is no expectation that I work on them anytime soon.

          Currently the plugin is being transfered to another maintainer. Hopefully he will have some time to finish triaging of the issues and maybe to deliver some fixes. But, as in any community-driven project, everybody is welcome to propose pull requests and to contribute to the plugin's state.

          Oleg Nenashev added a comment - Sorry, over last months I had no time to work on the plugin, because I had to focus on the Jenkins core and other projects. I also have not been using this plugin on my own since 2016. So I have decided to unassign the issues so that there is no expectation that I work on them anytime soon. Currently the plugin is being transfered to another maintainer. Hopefully he will have some time to finish triaging of the issues and maybe to deliver some fixes. But, as in any community-driven project, everybody is welcome to propose pull requests and to contribute to the plugin's state.

            Unassigned Unassigned
            pgilchrist Preston Gilchrist
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: