Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to determine if a test has been quarantined in an ongoing build ?

batturu July 20, 2023

We would like to know if there's a way to use the bamboo api to get whether  a test has been quarantined in an ongoing build. We tried to use the api - "/{build_key}-latest.json?expand=testResults.quarantinedTests but this gives the quarantined tests for the last completed build. Is there an api we can use get the quarantined tests for an ongoing build ?

1 answer

1 vote
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 20, 2023

Hello Batturu,

Welcome to Atlassian community support.

Is there an api we can use get the quarantined tests for an ongoing build ?

Can you please clarify if your question is for ongoing running builds in Bamboo which is still in progress on the agent?

Regards,

Shashank Kumar

batturu July 20, 2023

yes that's correct

Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 20, 2023

Hello Batturu,

Unless the Build completes, it's status is not updated in the DB, hence if you use any API, it will consider the last completed as latest.

You'll be able to see these details in the build logs for the ongoing builds

Regards,

Shashank Kumar

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events