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.

Package Drone Deployer

pdrone: Package Drone Deployer

  • serverUrl
    The main URL of the server. Not to any channel or artifact but to the server only.
    • Type: String
  • channel
    • Type: String
  • credentialsId
    A secrect text credential stored in Jenkins to be used as deploy key.
    • Type: String
  • artifacts
    You can use wildcards like 'module/dist/**/*.zip'. See the includes attribute of Ant fileset for the exact format. The base directory is the workspace. You can only archive files that are located in your workspace.
    • Type: String
  • allowEmptyArchive (optional)
    Normally, a build fails if archiving returns zero artifacts. This option allows the archiving process to return nothing without failing the build. Instead, the build will simply throw a warning.
    • Type: boolean
  • defaultExcludes (optional)
    Package Drone uses the Ant glob pattern which excludes by default some patterns. Refer here for the complete list of patterns.

    This option allows to enable or disable the default Ant exclusions.

    • Type: boolean
  • deployKey (optional)
    • Type: String
  • excludes (optional)
    Optionally specify the 'excludes' pattern, such as "foo/bar/**/*". A file that matches this mask will not be archived even if it matches the mask specified in 'files to archive' section.
    • Type: String
  • failsAsUpload (optional)
    • Type: boolean
  • stripPath (optional)
    This will strip the leading directories from the uploaded file name. For example the file foo/bar/file will get uploaded as file instead.
    • Type: boolean
  • uploadV3 (optional)
    This will upload all artifacts in a single transfer archive, which is faster but requires the Upload API V3, which is only present in Eclipse Package Drone™ since version 0.14.0.
    • Type: boolean

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.