Imagine you have a Cirrus CI artifact link like
and now you want to figure out the permalink to the last successful build like
Here is how to do it. You compose the URL from
https://api.cirrus-ci.com/v1/artifact/github/YOUR_GITHUB_ORGANIZATION/YOUR_GITHUB_REPO/data/- From your
.cirrus.ymlthe sting*_artifacts:up to_(e.g., if your.cirrus.ymlhassystem_artifacts, usesystem) artifacts- The path to the file you want to access
Or simpler:
https://api.cirrus-ci.com/v1/artifact/github/YOUR_GITHUB_ORGANIZATION/YOUR_GITHUB_REPO/data/- Everthing that follows the number in the non-permalink