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

Re-triggering a failed build copies the Actions from previous builds

      Steps to reproduce:

      1. Create a build pipeline with at least two stages, the second of which adds Actions to a build. For example, the git-plugin will attach a hudson.plugins.git.GitTagAction to the build to say what revision was built.
      2. Run the pipeline
      3. Re-run the second stage of the pipeline

      Expect:

      1. One actions in the summary page of the build from the git plugin

      Observe:

      1. Two actions! The previous builds action and the current builds (see attached screenshot)

      Marking as major because this results in breaking the TestNG publisher plugin - it relies on actions being persisted in builds to show reports and trend data. When actions are copied, the data is corrupted, and trends are overridden. This could potentially break other plugins in the pipeline as well.

          [JENKINS-30801] Re-triggering a failed build copies the Actions from previous builds

          Dan Alvizu created issue -
          Dan Alvizu made changes -
          Attachment New: JENKINS-30801.png [ 30791 ]
          Dan Alvizu made changes -
          Summary Original: Re-triggering a failed build results in Actions duplicated from previous build New: Re-triggering a failed build copies the Actions from previous builds
          Dan Alvizu made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Dan Alvizu made changes -
          Assignee New: Dan Alvizu [ dalvizu ]
          Dan Alvizu made changes -
          Description Original: Steps to reproduce:
          # Create a build pipeline with at least two stages, the second of which adds Actions to a build. For example, the git-plugin will attach a {{hudson.plugins.git.GitTagAction}} to the build to say what revision was built.
          # Run the pipeline
          # Re-run the second stage of the pipeline

          Expect:
          # One actions in the summary page of the build from the git plugin
          # Two actions! The previous builds action and the current builds (see attached screenshot)

          Marking as major because this results in breaking the TestNG publisher plugin - it relies on actions being persisted in builds to show reports and trend data. When actions are copied, the data is corrupted, and trends are overridden. This could potentially break other plugins in the pipeline as well.
          New: Steps to reproduce:
          # Create a build pipeline with at least two stages, the second of which adds Actions to a build. For example, the git-plugin will attach a {{hudson.plugins.git.GitTagAction}} to the build to say what revision was built.
          # Run the pipeline
          # Re-run the second stage of the pipeline

          Expect:
          # One actions in the summary page of the build from the git plugin

          Observe:
          # Two actions! The previous builds action and the current builds (see attached screenshot)

          Marking as major because this results in breaking the TestNG publisher plugin - it relies on actions being persisted in builds to show reports and trend data. When actions are copied, the data is corrupted, and trends are overridden. This could potentially break other plugins in the pipeline as well.
          Dan Alvizu made changes -
          Link New: This issue is related to JENKINS-22210 [ JENKINS-22210 ]
          Dan Alvizu made changes -
          Link New: This issue is related to JENKINS-24883 [ JENKINS-24883 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Dan Alvizu made changes -
          Link New: This issue is duplicated by JENKINS-26596 [ JENKINS-26596 ]
          Dan Alvizu made changes -
          Link New: This issue is duplicated by JENKINS-19870 [ JENKINS-19870 ]

            dalvizu Dan Alvizu
            dalvizu Dan Alvizu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: