Problem: on every green build I'm sending a new build to TestFlight (an iOS app) for internal testing. For each build I want to write release notes which would be collection of git commits that triggered this build.
I'm successfully wrote a script that grabs most recent build and checks want changes triggered that build. But this most recent build is last one that was successful. I'm unable to get currently running build.
My approaches so far:
1) Use /builds endpoint. http://localhost:8111/guestAuth/app/rest/builds?locator=running:false but I cannot guess the locator param for given app. ?locator=running:false,,buildTypeId:XXX does not work.
2) Use /guestAuth/app/rest/buildTypes/id:XXX and later fetch build via guestAuth/app/rest/buildTypes/id:XXX/builds/ but those does not contain currently running builds.