BuildState is not set before POST plugins

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 2.7.3, 3.0 i2, 3.0
    • Affects Version/s: 2.7.2
    • Component/s: None
    • None

      In a buildProcessor or buildProcessorServer plugin, the buildState used to be set to either BuildState.SUCCESS or BuildState.FAILED
      Looks like since bamboo 2.7 it is now set to BuildState.UNKNOWN

      This makes it impossible to do different operations based on the build state.

      This is causing a major issue with the Pre/Post Build Command Plugin

      In the plugin I'm getting the build state by doing:

      BuildState buildState = buildContext.getBuildResult().getBuildState();
      

      reference BPBC issue: BPBC-52

              Assignee:
              James Dumay
              Reporter:
              jonathan doklovic
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: