How can i get last successful build env variable?


#1

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.


#2

Hy @nina123!

here is our API reference for builds, if something holds this value you can extract it with this. https://api-docs.bitrise.io/#/builds


#3

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


#4

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


#5

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


#6

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