the sftp cache plugin logs information to the console for each item in the mount list that it plans to download from the server:
log.Printf("restoring directory <%s> from remote cache <%s>", mount, path)
and then logs information to the console for each item that it plans to upload to the server:
log.Printf("archiving directory <%s> to remote cache <%s>", mount, path)
Right now there really isn't enough information provided in this thread for me to know how far you have gotten in the process. What are you seeing in the build logs for this step? Or do you see nothing in the build logs (is this for a pull request? if yes there are special requirements )? What does
docker events say?
In general, we recommend testing all plugins directly from the command line for debugging purposes. I recommend attempting to debug locally per these instructions:
This should allow you to determine a working configuration. Then I recommend using the working configuration in a .drone.yml with a real build. If that doesn't work I recommend building the image from source and adding your own debug statements.
 plugins do not execute for pull requests unless explicitly told to do so, by adding a when clause that includes the pull_request event. See http://readme.drone.io/0.5/usage/constraints/#events:d330ad4ef7a43dc2477a00790e4de4c5