Project: bamboo
Issue BAM-7503: BuildManager still used in core Bamboo functionality
I've found some error messages in Tardigrade logs about build failures of builds that seemed to be completed just fine. Following that, I've found that BuildManager is still used in some places in Bamboo, causing problems with some of the functionality. For example, BuildCompletedEventListener operates on Buildables but uses BuildManager for build key validation. This which never works, since valid job keys are not valid build keys - effectively disabling the BuildCompleted plugins. There are not that many places that use BuildManager, about half of them are old UpgradeTasks. This should be fixed, and potentially backported to 2.7 too (since it breaks plugins in a way that cannot be fixed by developers).
Story points: 2