Drone plugins > JFrog Artifactory
artifactory.svg

JFrog Artifactory

by harness


A plugin to upload files to Jfrog artifactory.

Example

kind: pipeline
name: default

steps:
- name: docker  
  image: plugins/artifactory
  settings:
    username: kevinbacon
    password: pa55word
    url: company.com/artifactory
    source: release.tar.gz
    target: app/release.tar.gz

Properties

  • username

    stringoptional

    username for authentication with artifactory

    Default: none

  • password

    stringoptional

    password for authentication with artifactory

    Secret recommended

    Default: none

  • apikey

    stringoptional

    key for authentication with artifactory

    Secret recommended

    Default: none

  • url

    stringrequired

    location of the artifactory server

    Default: none

  • source

    stringrequired

    file(s) to upload

    Default: none

  • target

    stringrequired

    destination of source files in artifactory

    Default: none

  • retries

    numberoptional

    number of upload retries

    Default: 3

  • flat

    booleanoptional

    if true, artifacts are downloaded to the exact target path specified and their hierarchy in the source repository is ignored. if false, artifacts are downloaded to the target path in the file system while maintaining their hierarchy in the source repository

    Default: false