Currently the latest build artifact link, ie:
[server prefix]/download/[build-plan]/artifacts/latest/[artifact name]
has 2 problems:
- Should perform an HTTP redirect to the build artifact, rather than a meta-refresh link; this would make it much easier to script references to the latest build artifact
- The mime-type isn't set correctly on the page, so it can't be used in Firefox
Obviously if #1 were fixed, #2 would become a non-issue.
For 2.2 you can now link to artifacts in the format
e.g. http://server/bamboo/browse/CONF-MAIN-254/artifact/logs/cargo-log.log
You can also use /latest to link directly to the latest artifact
e.g. http://server/bamboo/browse/CONF-MAIN/latest/artifact/logs/cargo-log.log
If you need to login to view the artifacts, you can append os_username & os_password parameters to the URL to access the files.
These do not use browser redirects.