Allow atomic Java Specs in Bamboo

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Bamboo Specs
    • None
    • 1

      Problem Definition

      It's not currently possible to make Bamboo's Java Specs scans atomic. Implementing atomic Specs would require a series of grouped rollback operations that are not included in the tool's design.

      Suggested Solution

      Some customers have quite large Java specs and the way that some dependencies on plans and builds work, can be concerning. For example, initiating a spec scan and failing for any reason, might cause the first half of the spec successfully deployed to an environment where the second half failed. And because the second half failed might completely put the environment into a broken state depending on this change. So making spec scanning atomic is highly desirable so if something should fail, no change is applied.

      Workaround

      The best approach is to roll back the commit that contains the broken Specs, allowing Bamboo to revert to a valid version for processing. After that, you can address and fix the Specs code. Running mvn -Ptest (as long as tests exist) is also a very handy validation method to execute before publishing stuff.

              Assignee:
              Unassigned
              Reporter:
              Lorenzo Bueno
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: