How to access the built artifacts

Is it possible to ssh in to the agent and look in to the built artifact(check md5sum) or copy/download the build artifact?

Short answer is nope. There are many things that you can do, push artifacts to an object store or some sort of repository, for example.

The term artifacts implies that drone leaves files or objects behind when the build completes that can be accessed (similar to Jenkins). This is not the case. The drone build environment is ephemeral, which means the entire build environment is created when the build starts, and is destroyed when the build completes.

With that being said, it is possible to store files or objects that are created during a build, but you have to manage this process yourself. You could, for example, upload the files or objects to file storage (like S3) during the build so that you can download them at a later time. There are plugins that can help you with this. See http://plugins.drone.io/

Thanks for the information guys.

I would also like to see drone allow for basic artifact retention, without plugins. I don’t want to push my artifacts anywhere, I want to store them on the server running drone. Would it be appropriate to create a GitHub issue for this feature request?

1 Like

@carlwgeorge I recommend subscribing to this github issue which will be re-opened if the strategy for how we handle artifacts ever changes.

1 Like