Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 510 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 510 Bytes

A plugin to upload files to Jfrog artifactory.

Building

Build the plugin binary:

scripts/build.sh

Build the plugin image:

docker build -t drone/drone-artifactory -f docker/Dockerfile .

Testing

Execute the plugin from your current working directory:

docker run --rm \
  -e PLUGIN_USERNAME=foo \
  -e PLUGIN_PASSWORD=bar \
  -e PLUGIN_URL=<url> \
  -e PLUGIN_SRC_FILE=/drone/README.md \
  -e PLUGIN_TARGET_FILE=/pcf \
  -v $(pwd):/drone \
  drone/drone-artifactory