Description
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