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

lost trend history after skipping build

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: junit-plugin
    • Labels:
      None
    • Environment:
      core: 1.565.3 LTS
      plugin: 0.6.0
    • Similar Issues:

      Description

      I had trend history, then aborted two builds (run job and press abort), after it trend history graph become clear.
      After 2 builds graph filled back with 2 results (but before abort results still doesn't appeared).

        Attachments

          Issue Links

            Activity

            Hide
            andyiii Andrew Martignoni III added a comment -

            The best fix would be to use information from Jenkins core to iterate rather than the current method involving consecutive numbers. If there really is no alternative to using the file system directly, then I suggest iterating over all numbers from 1 to (the contents of nextBuildNumber), or perhaps in reverse, stopping after the max number of builds to graph is reached. Is there anyone working on the plugin who could take a look at this? I haven't seen the code, so I can't be more specific or supply a patch.

            Show
            andyiii Andrew Martignoni III added a comment - The best fix would be to use information from Jenkins core to iterate rather than the current method involving consecutive numbers. If there really is no alternative to using the file system directly, then I suggest iterating over all numbers from 1 to (the contents of nextBuildNumber), or perhaps in reverse, stopping after the max number of builds to graph is reached. Is there anyone working on the plugin who could take a look at this? I haven't seen the code, so I can't be more specific or supply a patch.
            Hide
            jglick Jesse Glick added a comment -

            Pointless to add comments here unless you understand the implementation of RunList and are able to evaluate whether the current core API suffices to implement this here or whether the core API needs to be extended.

            Show
            jglick Jesse Glick added a comment - Pointless to add comments here unless you understand the implementation of RunList and are able to evaluate whether the current core API suffices to implement this here or whether the core API needs to be extended.
            Hide
            david_potts David Potts added a comment -

            With respect, Jesse, I'm hoping that it's not pointless to add comments indicating that this is still an issue - and that some of us are not happy with having to make use of workarounds for functionality that should be fixed within Jenkins itself.
            Not having this fixed is not enough to force me to move from Jenkins, obviously; but it does make me question how much testing is performed (because this did work at one point in time), and therefore how much reliance I can place on my use of Jenkins.

            Show
            david_potts David Potts added a comment - With respect, Jesse, I'm hoping that it's not pointless to add comments indicating that this is still an issue - and that some of us are not happy with having to make use of workarounds for functionality that should be fixed within Jenkins itself. Not having this fixed is not enough to force me to move from Jenkins, obviously; but it does make me question how much testing is performed (because this did work at one point in time), and therefore how much reliance I can place on my use of Jenkins.
            Hide
            jglick Jesse Glick added a comment -

            add comments indicating that this is still an issue

            Use the Vote for this issue link.

            Show
            jglick Jesse Glick added a comment - add comments indicating that this is still an issue Use the Vote for this issue link.
            Hide
            il__ya Ilya Ilba added a comment -

            Could somebody please try my fix (incremental build here). Cannot verify it myself as I'm stuck with the old version of jenkins which is incompatible with the latest junit.

            Show
            il__ya Ilya Ilba added a comment - Could somebody please try my fix (incremental build here ). Cannot verify it myself as I'm stuck with the old version of jenkins which is incompatible with the latest junit.

              People

              • Assignee:
                Unassigned
                Reporter:
                integer Kanstantsin Shautsou
              • Votes:
                30 Vote for this issue
                Watchers:
                32 Start watching this issue

                Dates

                • Created:
                  Updated: