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 : String
    The main URL of the server. Not to any channel or artifact but to the server only.
  • channel : String
  • credentialsId : String
    A secrect text credential stored in Jenkins to be used as deploy key.
  • artifacts : String
    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.
  • allowEmptyArchive : boolean (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.
  • defaultExcludes : boolean (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.

  • deployKey : String (optional)
  • excludes : String (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.
  • failsAsUpload : boolean (optional)
  • stripPath : boolean (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.
  • uploadV3 : boolean (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.

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.