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
    The bucket in Object Storage Service where new JDCloud CodeDeploy revisions will be uploaded.
    • Type: String
  • ossObject
    The Object in the Object Storage Service Bucket to prepend to the JDCloud CodeDeploy revision.
    • Type: String
  • applicationName
    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.
    • Type: String
  • deploymentGroupName
    The name of the JDCloud CodeDeploy deployment group attached to your application that you want to deploy to.
    • Type: String
  • regionId
    • Type: String
  • waitForCompletion

    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.

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

    JDCloud Access and Secret keys to use for this deployment.

    • Type: String
  • secretKey

    JDCloud Access and Secret keys to use for this deployment.

      hudson.util.Secret
  • includes
    Includes and Excludes together define the file(s) that will be contained in the application revision that is uploaded to Object Storage Service.
    • Type: String
  • downloadUrl
    • Type: String
  • deploySource
    • Type: String
  • excludes
    Includes and Excludes together define the file(s) that will be contained in the application revision that is uploaded to Object Storage Service.
    • Type: String
  • subdirectory
    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.
    • Type: String

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.