The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Minio Plugin

minio: Upload build artifacts to Minio

  • bucket : String
    The bucket to upload the files to. This bucket will be created if it does not yet exist. Please note the restrictions in bucket naming
  • includes : String
    File pattern to indicate which files will be uploaded. Multiple entries can be used when separated by a ","
  • credentialsId : String (optional)
    Credentials to use when authenticating to Minio. If host is left blank the global configured credentials will be used
  • excludes : String (optional)
  • host : String (optional)
    URL where Minio is reachable by Jenkins. Leave this blank to use global configuration
  • targetFolder : String (optional)
    If you want to store the artifacts in a specific folder in Minio you can specify it with this parameter. Environment variables can be used with the ${...} syntax.

minioDelete: Delete build artifacts from Minio

  • bucket : String
    The bucket to download the files from. An error will be thrown if this bucket does not exist.
  • files : String
    Indicates what files should be deleted in Minio. Environment variables can be used with the ${...} syntax. Multiple files can be separated using ",".
  • credentialsId : String (optional)
    Credentials to use when authenticating to Minio. If host is left blank the global configured credentials will be used
  • failOnNonExisting : boolean (optional)
    By default the plugin will not error out if it tries to delete a file that doesn't exist.
  • host : String (optional)
    URL where Minio is reachable by Jenkins. Leave this blank to use global configuration

minioDownload: Download files from Minio

  • bucket : String
    The bucket to download the files from. An error will be thrown if this bucket does not exist.
  • file : String
    Indicates what file should be downloaded. Environment variables can be used with the ${...} syntax.
  • credentialsId : String (optional)
    Credentials to use when authenticating to Minio. If host is left blank the global configured credentials will be used
  • excludes : String (optional)
  • failOnNonExisting : boolean (optional)
    Uncheck this if you want the build to continue when a non-existing file is encountered.
  • host : String (optional)
    URL where Minio is reachable by Jenkins. Leave this blank to use global configuration
  • targetFolder : String (optional)
    Optionally indicate what directory in your workspace the objects should be downloaded to. Environment variables can be used with the ${...} syntax.

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.