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

BuildState is not set before POST plugins

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 2.7.3, 3.0 i2, 3.0
    • 2.7.2
    • None
    • None

    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

      Attachments

        Activity

          People

            jdumay James Dumay
            10564dc141a4 jonathan doklovic
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: