Drone plugins > Artifactory
Artifactory
by athieriot
Use this plugin to publish artifacts from the build to Artifactory.
Example
kind: pipeline
name: default
steps:
- name: artifactory
image: athieriot/drone-artifactory
settings:
url: http://arti.company.com
username: admin
password: password
pom: pom.xml
files:
- target/*.jar
- target/*.war
Properties
url
stringrequiredArtifactory URL (Includes scheme).
Default: none
username
stringrequiredArtifactory username.
Default: none
password
stringrequiredArtifactory password.
Secret recommendedDefault: none
pom
stringoptionalThe path to a pom.xml file were to read project details.
Default: none
group_id
stringoptionalProject group id.
Default: default to value from Pom file.
artifact_id
stringoptionalProject artifact id.
Default: default to value from Pom file.
version
stringoptionalArtifact version.
Default: default to value from Pom file.
repo_key
stringoptionalTarget repository key.
Default: libs-snapshot-local if version contains snapshot, libs-release-local otherwise.
files
arrayoptionalList of files to deploy.
Default: none
force_upload
booleanoptionalForce upload if a file already exists.
Default: false