circleci

borkdude 2021-12-24T12:26:30.019400Z

Given this, I can get the most recently run of a job:

$ bb -e '(-> (curl/get "" {:query-params {"branch" "master"}}) :body (json/parse-string true) :items first :id)'
"2d4ce6a9-3751-48c6-858f-6a56f3cf6329"
But given this UUID, how can I get a link to the artifacts?

borkdude 2021-12-24T12:27:13.020200Z

The use case is here that I want to offer the --HEAD option in a brew recipe, so users can install the most recent version of babashka using the most recent build on CircleCI

borkdude 2021-12-24T12:30:38.020700Z

It seems that in the above response the job is identified by a uuid, but in other requests it expects some number

borkdude 2021-12-24T12:30:48.021100Z

@marc-omorain?