pipelines

Create and run a new pipeline for build or deploy

Create and run a new pipeline for build or deploy. This API is only available when Build Utility is "Kubernetes" and Deployment Method is "Private Cloud Standalone".

post/pipelines

Request

  • Base URL
    https://pmp-demo.mxplatform.net/pipelineservice
  • Auth
    • none
    • or HTTP basic
    • or API key in header Authorization

Request body

pipelineTypestring

Type of the pipeline, Build or Deploy

appIdstring

Build or Deploy the package of the app with the specified appId

branchNamestring

The branch name of the app code to build, only required for Build pipeline

revisionIdstring

The revision ID of the app code to build, only required for Build pipeline

packageNamestring

The name of the app package to deploy, only required for Deploy pipeline

envInternalNamestring

The environment with specified internal name for deploy the app package, only required for Deploy pipeline

Response

Example response

pipelineIdinteger

Changes

No recorded changes to this operation across all 1 revision of this API.