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.

JDCloud CodeDeploy Plugin

step([$class: 'JDCodeDeployPublisher']): Deploy to JDCloud CodeDeploy

  • ossBucket : String
    The bucket in Object Storage Service where new JDCloud CodeDeploy revisions will be uploaded.
  • ossObject : String
    The Object in the Object Storage Service Bucket to prepend to the JDCloud CodeDeploy revision.
  • applicationName : String
    The name of the JDCloud CodeDeploy application you wish to deploy to. This plugin assumes that you've already created the application and deployment group.
  • deploymentGroupName : String
    The name of the JDCloud CodeDeploy deployment group attached to your application that you want to deploy to.
  • regionId : String
  • waitForCompletion : boolean

    If checked, this build will wait for the JDCloud CodeDeploy deployment to finish (with either success or failure). Polling Timeout, below, sets the maximum amount of time to wait.

    If unchecked, the deployment will be handed off to JDCloud CodeDeploy and the build will move on to the next step.

    The build will be marked a failure if either the timeout is reached or the deployment fails. The build log will indicate which.

  • pollingTimeoutSec : long
  • pollingFreqSec : long
  • doDeploy : boolean
  • accessKey : String

    JDCloud Access and Secret keys to use for this deployment.

  • secretKey

    JDCloud Access and Secret keys to use for this deployment.

    • Type: class hudson.util.Secret
  • includes : String
    Includes and Excludes together define the file(s) that will be contained in the application revision that is uploaded to Object Storage Service.
  • downloadUrl : String
  • deploySource : String
  • excludes : String
    Includes and Excludes together define the file(s) that will be contained in the application revision that is uploaded to Object Storage Service.
  • subdirectory : String
    A subdirectory inside the workspace to be packed instead of the whole workspace. Remember that the jdcloud-codedeploy.yml must be placed at the top of the .tar.gz archive. The excludes and includes will be applied based on this path.

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.