Skip to content

harness-community/drone-download-artifactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Building

Build the plugin binary:

scripts/build.sh

Build the plugin image:

docker build -t plugins/artifactory-download  -f docker/Dockerfile .

Testing

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

Harness CI Example:

              - 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/

Community and Support

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published