3

I'm currently building out a radiator screen to bridge a few different areas of our CI\CD pipeline, pulling in metrics as well as build statuses. We're also migrating from Jenkins to Bamboo

In Jenkins, when you do a rest call to the job/api/json it, one of the response fields is a color, which acts as an initial health. Great for colour coding, especially when things go red!

However, as far as I can see, there isn't a bamboo equivalent. The two calls I'm using so far in bamboo are

/result/{projectKey}-{buildKey}/{buildNumber : ([0-9]+)|(latest)}

/result/status/{projectKey}-{buildKey}-{buildNumber : ([0-9]+)}

Any clues or pointers as to where I can get the info from?

p.s. Writing this app in React \ Node

1 Answers1

2

Bamboo doesn't have a color status like Jenkins per say, but it does have a very similar build status indicated by a circle with a symbol within it. This status is available for both the entire build plan and for an individual build.

Bamboo Build Status

For your GET request, you will want to use the same api calls that you are using to get the buildstate value to get a SUCCESSFUL or FAILED state.

Preston Martin
  • 3,288
  • 4
  • 18
  • 39