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.

CloudBees CD

cloudBeesFlowCallRestApi: CloudBees CD - Call REST API

Call CloudBees CD REST API
  • parameters (optional)
    Specify the parameters for the REST API. Parameters are transformed into JSON object and used within body of HTTP request.
      Array / List of Nested Object
    • key
      • Type: String
    • value
      • Type: String
  • body (optional)
    Specify the body for the REST API. This parameter is not used if 'Parameters' are provided.
    • Type: String
  • configuration (optional)
    Specify the name of the CloudBees CD configuration.
    • Type: String
  • envVarNameForResult (optional)
    If provided, result of calling CloudBees REST API (json output) will be stored within provided environment variable available within build.
    • Type: String
  • httpMethod (optional)
    Specify the HTTP Method
    • Type: String
  • overrideCredential (optional)
      Nested Object
    • credentialId
      • Type: String
  • urlPath (optional)
    Specify the URL Path for the REST API
    • Type: String

cloudBeesFlowAssociateBuildToRelease: CloudBees CD - Associate Build To Release

Updates the specified CloudBees CD release to include information about this build run.
  • configuration (optional)
    Specify the name of the CloudBees CD configuration.
    • Type: String
  • flowRuntimeId (optional)
    • Type: String
  • overrideCredential (optional)
      Nested Object
    • credentialId
      • Type: String
  • projectName (optional)
    Specify the CloudBees CD project name.
    • Type: String
  • releaseName (optional)
    Specify the CloudBees CD release name.
    • Type: String

cloudBeesFlowDeployApplication: CloudBees CD - Deploy Application

Deploy application using CloudBees CD.
  • applicationName (optional)
    Specify the CloudBees CD application process name
    • Type: String
  • applicationProcessName (optional)
    Specify parameters for the CloudBees CD pipeline.
    • Type: String
  • configuration (optional)
    Specify the name of the CloudBees CD configuration.
    • Type: String
  • deployParameters (optional)
    • Type: String
  • environmentName (optional)
    Specify the CloudBees CD environment name
    • Type: String
  • environmentProjectName (optional)
    (Optional) Specify the CloudBees CD environment project name if it is different than project for application
    • Type: String
  • overrideCredential (optional)
      Nested Object
    • credentialId
      • Type: String
  • projectName (optional)
    Specify the CloudBees CD project name.
    • Type: String
  • runAndWaitOption (optional)
      Nested Object
    • checkInterval (optional)
      • Type: int
    • dependOnCdJobOutcome (optional)
      • Type: boolean
    • throwExceptionIfFailed (optional)
      • Type: boolean
  • validationTrigger (optional)
    • Type: String

step([$class: 'ElectricFlowGenericRestApi']): CloudBees CD - Call REST API

Call CloudBees CD REST API
  • parameters (optional)
    Specify the parameters for the REST API. Parameters are transformed into JSON object and used within body of HTTP request.
      Array / List of Nested Object
    • key
      • Type: String
    • value
      • Type: String
  • body (optional)
    Specify the body for the REST API. This parameter is not used if 'Parameters' are provided.
    • Type: String
  • configuration (optional)
    Specify the name of the CloudBees CD configuration.
    • Type: String
  • envVarNameForResult (optional)
    If provided, result of calling CloudBees REST API (json output) will be stored within provided environment variable available within build.
    • Type: String
  • httpMethod (optional)
    Specify the HTTP Method
    • Type: String
  • overrideCredential (optional)
      Nested Object
    • credentialId
      • Type: String
  • urlPath (optional)
    Specify the URL Path for the REST API
    • Type: String

cloudBeesFlowRunPipeline: CloudBees CD - Run Pipeline

Run a CloudBees CD pipeline.
  • addParam (optional)
    • Type: String
  • additionalOption (optional)
    • Type: class net.sf.json.JSONArray
  • configuration (optional)
    Specify the name of the CloudBees CD configuration.
    • Type: String
  • overrideCredential (optional)
      Nested Object
    • credentialId
      • Type: String
  • pipelineName (optional)
    Specify the CloudBees CD pipeline name.
    • Type: String
  • projectName (optional)
    Specify the CloudBees CD project name.
    • Type: String
  • runAndWaitOption (optional)
      Nested Object
    • checkInterval (optional)
      • Type: int
    • dependOnCdJobOutcome (optional)
      • Type: boolean
    • throwExceptionIfFailed (optional)
      • Type: boolean

cloudBeesFlowCreateAndDeployAppFromJenkinsPackage: CloudBees CD - Create/Deploy Application from Deployment Package

Create/Deploy an application in CloudBees CD from a deployment package.
  • configuration
    Specify the name of the CloudBees CD configuration.
    • Type: String
  • filePath
    Specify the location or path for the deployment package to be published to CloudBees CD. E.g., MyProject/target. Please note that your path or pattern should include manifest.json and all files that are declared in manifest.json. This field supports ant-style path pattern matching and build-time environment variables.
    For example:
    "?" matches one character. Application.?ar will match both Application.war and Application.jar.
    "*" matches zero or more characters. Report.*ml will match Report.html and Report.xml.
    "**" matches zero or more 'directories' in a path. target/**/*.war will match all war files in any directory inside "target"
        
    To reference environment variable value, "$" should be used. For example, to reference the current build number: $BUILD_NUMBER.
    E.g., MyProject/**/*-$BUILD_NUMBER.war.
    • Type: String
  • overrideCredential (optional)
      Nested Object
    • credentialId
      • Type: String
  • runAndWaitOption (optional)
      Nested Object
    • checkInterval (optional)
      • Type: int
    • dependOnCdJobOutcome (optional)
      • Type: boolean
    • throwExceptionIfFailed (optional)
      • Type: boolean

cloudBeesFlowRunProcedure: CloudBees CD - Run Procedure

Run a procedure in CloudBees CD.
  • configuration (optional)
    Specify the name of the CloudBees CD configuration.
    • Type: String
  • overrideCredential (optional)
      Nested Object
    • credentialId
      • Type: String
  • procedureName (optional)
    Specify the CloudBees CD procedure name
    • Type: String
  • procedureParameters (optional)
    • Type: String
  • projectName (optional)
    Specify the CloudBees CD project name.
    • Type: String
  • runAndWaitOption (optional)
      Nested Object
    • checkInterval (optional)
      • Type: int
    • dependOnCdJobOutcome (optional)
      • Type: boolean
    • throwExceptionIfFailed (optional)
      • Type: boolean

cloudBeesFlowTriggerRelease: CloudBees CD - Trigger Release

Trigger release in CloudBees CD
  • configuration (optional)
    Specify the name of the CloudBees CD configuration.
    • Type: String
  • overrideCredential (optional)
      Nested Object
    • credentialId
      • Type: String
  • parameters (optional)
    • Type: String
  • projectName (optional)
    Specify the CloudBees CD project name.
    • Type: String
  • releaseName (optional)
    Specify the CloudBees CD release name.
    • Type: String
  • runAndWaitOption (optional)
      Nested Object
    • checkInterval (optional)
      • Type: int
    • dependOnCdJobOutcome (optional)
      • Type: boolean
    • throwExceptionIfFailed (optional)
      • Type: boolean
  • startingStage (optional)
    • Starting Stage: Specify starting stage to run in the CloudBees CD release pipeline (Parameter is required if ‘Stages to run’ is not used)
    • Stages to run: Specify stages to run in the CloudBees CD release pipeline (Parameter is required if ‘Starting Stage’ is not used. Parameter is ignored if ‘Starting Stage’ is used)
    • Type: String
  • validationTrigger (optional)
    • Type: String

cloudBeesFlowPublishArtifact: CloudBees CD - Publish Artifact

Publish artifact to CloudBees CD Artifact Repository.
  • repositoryName
    Specify the name of the CloudBees CD Repository.
    • Type: String
  • artifactName
    Specify the name of the application artifact using the format <group_id>:<artifact_key>. For e.g., "com.example:helloworld"
    • Type: String
  • artifactVersion
    Specify the version of the application artifact. For e.g., you can specify 1.0 or 1.0-$BUILD_TAG that is based on Jenkins environment variable.
    • Type: String
  • filePath
    Specify the location or path for the artifact files to be published to CloudBees CD. This field supports ant-style path pattern matching and build-time environment variables.
    For example:
    "?" matches one character. Application.?ar will match both Application.war and Application.jar.
    "*" matches zero or more characters. Report.*ml will match Report.html and Report.xml.
    "**" matches zero or more 'directories' in a path. target/**/*.war will match all war files in any directory inside "target"
        
    To reference environment variable value, "$" should be used. For example, to reference the current build number: $BUILD_NUMBER.
    E.g., MyProject/**/*-$BUILD_NUMBER.war.
    • Type: String
  • configuration
    Specify the name of the CloudBees CD configuration.
    • Type: String
  • overrideCredential (optional)
      Nested Object
    • credentialId
      • Type: String
  • relativeWorkspace (optional)
    Specify the relative workspace (relative to workspace root) for artifact 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.