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

StopBuildManager with abandon result does not abandon result

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.6 M4, 2.6
    • 2.6 M0
    • Builds
    • None

      StopBuildManager with abandon result does not abandon result in 3.0. In 2.0 it just stopped the result from being persisted but that now happens at the start of the build.

            [BAM-5124] StopBuildManager with abandon result does not abandon result

            Current status:

            • abandoned builds are saved to database - do we really want to remove them?
            • log fiels are created - probably should be there as the only sign of that build (however not accesible in web ui)
            • build result xml is not created

            The other issue is that it has to be tested how it affects chains - if one of chain builds is abandoned and then removed - propably this will affect chain result - I'll check this today

            Marek Went (Inactive) added a comment - Current status: abandoned builds are saved to database - do we really want to remove them? log fiels are created - probably should be there as the only sign of that build (however not accesible in web ui) build result xml is not created The other issue is that it has to be tested how it affects chains - if one of chain builds is abandoned and then removed - propably this will affect chain result - I'll check this today

            MarkC added a comment -
            • Abandoned builds were not saved to the database
            • Need to delete the abandoned build
            • Need to update the Plan's lastRevisionKey iff the abandon build's revision matches the lastRevisionKey.
            • Need to watch for concurrency

            MarkC added a comment - Abandoned builds were not saved to the database Need to delete the abandoned build Need to update the Plan's lastRevisionKey iff the abandon build's revision matches the lastRevisionKey. Need to watch for concurrency

              mwent Marek Went (Inactive)
              jdumay James Dumay
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 16h
                  16h
                  Remaining:
                  Remaining Estimate - 16h
                  16h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified