@marc-omorain Since artifact urls are not public (unlike with Github actions) I'd like to have an easy way to publish these OR to make them public by default. E.g. post the link to a Slack channel so people know where to grab the latest nightly builds. There was a feature request for it here: https://discuss.circleci.com/t/easily-get-artifact-url/10394/2 But it was closed without any reaction...
I could cobble together something myself, but I can't related some information from the link to what's going on inside the build:
<https://3317-201467090-gh.circle-artifacts.com/0/release/babashka-0.0.61-SNAPSHOT-linux-amd64.zip>
CIRCLE_BUILD_NUM=3317
<https://3316-201467090-gh.circle-artifacts.com/0/release/babashka-0.0.61-SNAPSHOT-macos-amd64.zip>
So maybe the second number is a fixed number for the project. And the /0
is also a fixed number? This might be easier than I thoughtThe /0
is the index of the parallel container as far as I know
So it will always be 0 unless you are using parallelism, in which case it will be 0, 1, 2… for each container
That seems doable then
`
201467090
Is the ID in GitHub of your projectThings I wished that the first engineers did not do at CircleCI: used GH IDs as our own internal IDs 😞
There is an API to get the artifact links: https://circleci.com/docs/api/v2/#get-a-job-39-s-artifacts (the API itself requires you to be authed)
ok: #babashka_circleci_builds 🙂