Thanks for asking this here!
Right now it’s not possible. Artifacts do not have any static download URL, for security reasons. When you click view or download of that artifact on the build’s page that requests a download URL which changes every time! The download links returned there are time limited, expiring ones, valid for roughly 10 mins. After that the same download URL can’t be used again without authorization first, which will generate a new download URL.
One solution that works right now is to include the Build’s URL in the Slack message (
$BITRISE_BUILD_URL), where you can see the artifacts.
Soon there will be another option, but that most likely won’t solve this issue for you directly: we’re working on a public API (Bitrise.io API v0.1 (Work In Progress)), and that will include an endpoint to retrieve artifacts. But even that endpoint won’t include a non expiring download URL option (for security - e.g. to prevent access of those who you remove from the app’s team), except for artifacts which can have a “public install page” (apps right now).
To be honest I don’t really see why including the download URL in a Slack message would be useful, but feel free to create a #feature-request describing the use case, and if that gets enough votes we’ll definitely find a solution for the use case. Maybe I just missed something, so it’s definitely not a dismissal at all