A plugin to download folders and files to Jfrog artifactory.
Run the following script to install git-leaks support to this repo.
chmod +x ./git-hooks/install.sh
./git-hooks/install.sh
Build the plugin binary:
scripts/build.sh
Build the plugin image:
docker build -t plugins/artifactory-download -f docker/Dockerfile .
Execute the plugin from your current working directory:
docker run --rm \
-e PLUGIN_USERNAME='username' \
-e PLUGIN_PASSWORD='pwd' \
-e PLUGIN_URL='artifactory instance url' \
-e PLUGIN_SOURCE_PATH=Venkat-Test-BT-274/ \
-e PLUGIN_TARGET_PATH=./harness/dbops/ \
-e PLUGIN_INCLUDE_DIRS=true \
-v $(pwd):/drone \
plugins/artifactory-download:latest
- step:
type: Plugin
name: jFrog-Test
identifier: Artifactory_Download_Plugin
spec:
connectorRef: account.harnessImage
image: plugins/artifactory-download:linux-amd64
settings:
username: username
password: <JFROG_PWD>
url: https://URL.jfrog.io/artifactory
source_path: /harness/cache.txt
target_path: newdemo/
Harness Community Slack - Join the #drone slack channel to connect with our engineers and other users running Drone CI.
Harness Community Forum - Ask questions, find answers, and help other users.
Report and Track A Bug - Find a bug? Please report in our forum under Drone Bugs. Please provide screenshots and steps to reproduce.
Events - Keep up to date with Drone events and check out previous events here.