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
insecure: true
pem_file_contents:
from_secret: pem_file_contents
Properties
username
stringoptionalusername for authentication with artifactory
Default: none
password
stringoptionalpassword for authentication with artifactory
Secret recommendedDefault: none
apikey
stringoptionalkey for authentication with artifactory
Secret recommendedDefault: none
url
stringrequiredlocation of the artifactory server
Default: none
source
stringrequiredfile(s) to upload
Default: none
target
stringrequireddestination of source files in artifactory
Default: none
retries
numberoptionalnumber of upload retries
Default: 3
flat
booleanoptionalif 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
insecure
booleanoptionalif true, the connection to the source repository is not validated by checking the server certificate. if false, the connection to the source repository is validated by checking the server certificate
Default: false
pem_file_contents
stringoptionalpem file contents for authentication with artifactory, cannot be used in conjunction with insecure
Secret recommendedDefault: none
pem_file_path
stringoptionalpem file path for authentication with artifactory, defaults to either "C:/users/ContainerAdministrator/.jfrog/security/certs/cert.pem" or "/root/.jfrog/security/certs/cert.pem"
Default: none