circleci

rm -rf /home/circleci/.gitconfig
borkdude 2020-01-07T11:04:28.008600Z

@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...

borkdude 2020-01-07T11:08:47.009500Z

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

borkdude 2020-01-07T11:09:44.009900Z

<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 thought

Marc O'Morain 2020-01-07T11:24:59.010300Z

The /0 is the index of the parallel container as far as I know

Marc O'Morain 2020-01-07T11:25:39.011200Z

So it will always be 0 unless you are using parallelism, in which case it will be 0, 1, 2… for each container

borkdude 2020-01-07T11:26:23.011400Z

That seems doable then

Marc O'Morain 2020-01-07T11:30:46.011800Z

`

201467090
Is the ID in GitHub of your project

Marc O'Morain 2020-01-07T11:31:26.012500Z

Things I wished that the first engineers did not do at CircleCI: used GH IDs as our own internal IDs 😞

polymeris 2020-01-07T11:41:14.013300Z

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)

borkdude 2020-01-07T12:04:05.013600Z

ok: #babashka_circleci_builds 🙂

🦜 1