Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-20512

Build behavior is inconsistent when re-running failed/incomplete jobs with manual final stages

      Summary

      Build behavior is inconsistent when re-running failed/incomplete jobs with manual final stages

      Steps to Reproduce

      1. Create a plan with one normal stage (Stage 1) and one manual final stage (Stage 2).
      2. Have at least one job in each stage. This job needs to fail (the reason is not important).
      3. Run build.
      4. Stage 1 will finish with a failed Job. Manually run Stage 2.
      5. Stage 2 will finish with a failed job.
      6. Click Run -> Rerun failed/incomplete jobs only.
      7. Stage 1 will finish. Its job will fail.

      Expected Results

      1. The user should be able to rerun the final stage.

      Actual Results

      Rerunning the final stage is not possible.

      Notes

      Our documentation states that "A manual stage can only be triggered if the previous stage has completed successfully." (reference). Nevertheless, the bahavior is inconsistent and the user should be able to run the final stage regardless.

      Workaround

       Run a new build.

            [BAM-20512] Build behavior is inconsistent when re-running failed/incomplete jobs with manual final stages

            Ishwinder Kaur made changes -
            Resolution New: Low Engagement [ 10300 ]
            Status Original: Long Term Backlog [ 12073 ] New: Closed [ 6 ]
            Ishwinder Kaur made changes -
            Labels Original: bamboo-bugfix-kanban-candidate da-warranty New: bamboo-bugfix-kanban-candidate cleanup-seos-fy25 da-warranty
            Pawel Skierczynski made changes -
            Status Original: Gathering Impact [ 12072 ] New: Long Term Backlog [ 12073 ]
            Pawel Skierczynski made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 3284512 ] New: JAC Bug Workflow v3 [ 3386089 ]
            Status Original: Open [ 1 ] New: Needs Triage [ 10030 ]
            Pawel Skierczynski made changes -
            Labels Original: bamboo-bugfix-kanban-candidate New: bamboo-bugfix-kanban-candidate da-warranty
            Pawel Skierczynski made changes -
            Labels New: bamboo-bugfix-kanban-candidate
            Pawel Skierczynski made changes -
            Occurrence Factor New: 10% [ 12830 ]
            Status Original: Needs Triage [ 10030 ] New: Open [ 1 ]
            Bugfix Automation Bot made changes -
            Support reference count New: 1
            Patricio made changes -
            Description Original: h3. Summary

            Build behavior is inconsistent when re-running failed/incomplete jobs with manual final stages
            h3. Steps to Reproduce
             # Create a plan with one normal stage (Stage 1) and one manual final stage (Stage 2).
             # Have at least one job in each stage. This job needs to fail (the reason is not important).
             # Run build.
             # Stage 1 will finish with a failed Job. Manually run Stage 2.
             # Stage 2 will finish with a failed job.
             # Click Run -> Rerun failed/incomplete jobs only.
             # Stage 1 will finish. Its job will fail.

            h3. Expected Results
             # The user should be able to rerun the final stage.

            h3. Actual Results

            Rerunning the final stage is not possible.
            h3. Notes

            Our documentation states that "A manual stage can only be triggered if the previous stage has completed successfully." ([reference|https://confluence.atlassian.com/bamboo/using-stages-in-a-plan-289276862.html#Usingstagesinaplan-manual]). Nevertheless, the bahavior is inconsistent and the user should be able to run the final stage regardless.
            h3. Workaround

             
            New: h3. Summary

            Build behavior is inconsistent when re-running failed/incomplete jobs with manual final stages
            h3. Steps to Reproduce
             # Create a plan with one normal stage (Stage 1) and one manual final stage (Stage 2).
             # Have at least one job in each stage. This job needs to fail (the reason is not important).
             # Run build.
             # Stage 1 will finish with a failed Job. Manually run Stage 2.
             # Stage 2 will finish with a failed job.
             # Click Run -> Rerun failed/incomplete jobs only.
             # Stage 1 will finish. Its job will fail.

            h3. Expected Results
             # The user should be able to rerun the final stage.

            h3. Actual Results

            Rerunning the final stage is not possible.
            h3. Notes

            Our documentation states that "A manual stage can only be triggered if the previous stage has completed successfully." ([reference|https://confluence.atlassian.com/bamboo/using-stages-in-a-plan-289276862.html#Usingstagesinaplan-manual]). Nevertheless, the bahavior is inconsistent and the user should be able to run the final stage regardless.
            h3. Workaround

             Run a new build.
            Patricio created issue -

              Unassigned Unassigned
              pdemitrio Patricio
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: