Gitlab CI: Give artifacts a hash / branch name based link to make downloading artifacts scriptable
I would like to offload some building from our developer computers to Gitlab CI, and I think I can use artifacts for that. What my plan is:
1. let Gitlab CI do a build, and upload it as an artifact (possibly on nightly basis is frequent enough).
2. on a development computer, run a script that downloads the latests built files using the artifact, and only build any incremental changes.
The problem is: how do I find a artifact download link that was part of my current branch. Links are now like this: `http://<gitlab-url>/<team>/<project>/builds/1483/download`
1483 is the runner job number.
It would be cool if it could be like this:
```
http://<gitlab-url>/<team>/<project>/builds/<commit>/download
```
Or even something like this:
```
http://<gitlab-url>/<team>/<project>/builds/<branch>/download/latest-succesful-build
http://<gitlab-url>/<team>/<project>/builds/<tag>/download/
```
issue