Fork me on GitHub
#circleci
<
2021-12-24
>
borkdude12:12:30

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?

borkdude12:12:13

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

borkdude12:12:38

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