Is it possible to retrieve id of Jenkins build I triggered via its API? -


let's trigger build sending request /job/awesomesauce/build. possible retrieve id of triggered build?

i'm aware can try access /job/awesomesauce/lastbuild/api/json, give me erroneous information in case there multiple builds running @ once. additionally, there seem slight delay (few seconds) before gives me information running build.

i had sort of thing, , here workaround used: had dummy parameter passed build (in case build_id of build; in case may timestamp), queried , parsed both build queue api ([server]/queue/api/...) , regular api (in case build has finished) build containing appropriate parameter value.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -