How can i get last successful build env variable?

I’m trying to generate release notes since last successful build for a workflow.How can i get env variable for last successful build or since last successful commit.

Hy @nina123!

here is our API reference for builds, if something holds this value you can extract it with this.

Thank You ! But i don’t see anything that holds the value .

It should be there in some kind of status variable, and the value is a number, 0 is running, 1 is success, 2 fail, 3 abort/timout

this is in /apps/{app-slug}/builds

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.