2
votes

I have multiple branches that are being tested under a single project and I'm currently using following command to show build statuses:

"/guestAuth/app/rest/builds?locator=project:<Project_Name>,running:any,branch:branched:any,count:20

Can limit the rest api to show just one build per branch?

1

1 Answers

0
votes

Can you please be more specific? If you give us some example (e.g. "I have build configuration with builds A(steps a,b,c), B(steps d,e) , C(step f). A is from branch branch_A, B from branch_B" and so on so we have some clue how your setup looks like and what do you want to achieve.

You can check a permalinks for "latest successful build". You can also ask for specific build status, not a whole project.