Skip to main content

Deployment

A deployment for an application environment.

type Deployment implements Model {
branch: String!
build: Build
cancelledAt: Date
commit_author: String
commit_description: String
commit_sha: String!
commit_time: Date
createdAt: Date
deployment_finished_at: Date
deployment_status: String!
deployment_triggered_at: Date
errorMessage: String
id: Int!
inProgress: Boolean
initiatedBy: DeploymentInitiator
isAvailableForRollback: Boolean
isError: Boolean
isLatest: Boolean
postDeployActionsJob: String
repo: String!
steps: [DeploymentStep]
}

Fields​

Deployment.branch ● String! non-null scalar common​

The branch that was deployed.

Deployment.build ● Build object common​

The build associated with the deployment.

Deployment.cancelledAt ● Date scalar common​

When the deployment was cancelled.

Deployment.commit_author ● String scalar common​

The author of the deployed commit.

Deployment.commit_description ● String scalar common​

The deployed commit description.

Deployment.commit_sha ● String! non-null scalar common​

The deployed commit SHA.

Deployment.commit_time ● Date scalar common​

When the deployed commit was created.

Deployment.createdAt ● Date scalar common​

When the deployment record was created.

Deployment.deployment_finished_at ● Date scalar common​

When the deployment finished.

Deployment.deployment_status ● String! non-null scalar common​

The raw deployment status.

Deployment.deployment_triggered_at ● Date scalar common​

When the deployment was triggered.

Deployment.errorMessage ● String scalar common​

Customer-facing description of why the deployment failed. Null unless isError is true.

Deployment.id ● Int! non-null scalar common​

The unique identifier for the deployment.

Deployment.inProgress ● Boolean scalar common​

Whether the deployment is currently in progress.

Deployment.initiatedBy ● DeploymentInitiator object common​

The user who initiated the deployment.

Deployment.isAvailableForRollback ● Boolean scalar common​

Whether the deployment can be used for rollback.

Deployment.isError ● Boolean scalar common​

Whether the deployment is in an error state.

Deployment.isLatest ● Boolean scalar common​

Whether this is the latest deployment.

Deployment.postDeployActionsJob ● String scalar common​

The post-deploy actions job identifier.

Deployment.repo ● String! non-null scalar common​

The repository that was deployed.

Deployment.steps ● [DeploymentStep] list object common​

The steps recorded for the deployment.

Interfaces​

Model interface common​

A model with an integer identifier.

Member Of​

DeploymentList object ● RollbackPayload object