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

API: I need a field with info that build is currently in 'building' state.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.3
    • None
    • REST API

      There is info that build is in the queue but I strongly need info about 'building' state.

            [BAM-4095] API: I need a field with info that build is currently in 'building' state.

            Does not work

            Krystian Brazulewicz added a comment - Does not work

            Info in the XML is sufficient. Thanks!!!

            Jacek Jaroczynski (Inactive) added a comment - Info in the XML is sufficient. Thanks!!!

            Example XML is now:

            <plan name="Bamboo - Head" key="BAM-HEAD" expand="actions">
              <projectKey>BAM</projectKey>
              <projectName>Bamboo</projectName>
              <isFavourite>true</isFavourite>
              <averageBuildTimeInSeconds>316.0</averageBuildTimeInSeconds>
              <isInBuildQueue>true</isInBuildQueue>
              <isBuilding>true</isBuilding>
              <link rel="self" href="http://localhost:8085/bamboo/rest/api/latest/plan/BAM-HEAD"/>
              <actions size="7" max-result="7" start-index="0"/>
            </plan>
            

            I have also thought about adding current plan status to the REST response. Current status is one of the following values:

                String STATUS_FAIL = "fail";
                String STATUS_SUCCESS = "success";
                String STATUS_CURRENTLY_BUILDING = "current";
                String STATUS_NO_BUILDS = "none";
            

            Let me know if you need them.

            Krystian Brazulewicz added a comment - Example XML is now: <plan name="Bamboo - Head" key="BAM-HEAD" expand="actions"> <projectKey>BAM</projectKey> <projectName>Bamboo</projectName> <isFavourite>true</isFavourite> <averageBuildTimeInSeconds>316.0</averageBuildTimeInSeconds> <isInBuildQueue>true</isInBuildQueue> <isBuilding>true</isBuilding> <link rel="self" href="http://localhost:8085/bamboo/rest/api/latest/plan/BAM-HEAD"/> <actions size="7" max-result="7" start-index="0"/> </plan> I have also thought about adding current plan status to the REST response. Current status is one of the following values: String STATUS_FAIL = "fail"; String STATUS_SUCCESS = "success"; String STATUS_CURRENTLY_BUILDING = "current"; String STATUS_NO_BUILDS = "none"; Let me know if you need them.

            Extend result returned by call /rest/api/latest/PROJECTKEY and update doc: https://extranet.atlassian.com/display/BAMBOO/REST+API

            Krystian Brazulewicz added a comment - Extend result returned by call /rest/api/latest/PROJECTKEY and update doc: https://extranet.atlassian.com/display/BAMBOO/REST+API

              kbrazulewicz Krystian Brazulewicz
              jjaroczynski Jacek Jaroczynski (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1h Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h