Let's say I trigger build by sending GET request to /job/awesomesauce/build
. Is it possible to retrieve id of triggered build?
I'm aware I can try to access /job/awesomesauce/lastBuild/api/json
, but that would give me erroneous information in case there are multiple builds running at once. Additionally, there seem to be slight delay (few seconds) before it gives me information about currently running build.