DevopsEnvDeployment

Represents a record created during the promotion or deployment process to track deployment actions, status, and associated details within a DevOps Center pipeline. This object is available in API version 66.0 and later.

Supported Calls

create(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), , update(), upsert()

Fields

Field Details
BackSyncStageId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the pipeline stage from which changes are back-synced to a development environment. This is a relationship field.
Relationship Name
BackSyncStage
Refers To
DevopsPipelineStage
CheckDeployCompletionDate
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The date and time when a validate-only deployment completed.
CheckDeployDate
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The date and time when a validate-only deployment started.
CheckDeployRequestInfoId
Type
reference
Properties
Create, Filter, Nillable, Sort, Update
Description
The ID of the DevopsRequestInfo record tracking the status of the deployment. This is a relationship field.
Relationship Name
CheckDeployRequestInfo
Refers To
DevopsRequestInfo
CheckDeployStatus
Type
picklist
Properties
Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort
Description
The current status of the deployment. The default value is NEW.
Possible values are:
  • CANCELLED
  • ERROR
  • FINALIZING
  • INTERRUPTED
  • IN_PROGRESS
  • NEW
  • SUCCESS
DeployCompletionDate
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The date and time when the deployment operation completed.
DeployRequestInfoId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the DevopsRequestInfo record tracking the status of the full deployment. This is a relationship field.
Relationship Name
DeployRequestInfo
Refers To
DevopsRequestInfo
DeployStatus
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The current status of the deployment operation. The default value is NEW.
Possible values are:
  • CANCELLED
  • ERROR
  • FINALIZING
  • INTERRUPTED
  • IN_PROGRESS
  • NEW
  • SUCCESS
DeploymentDate
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The date and time when the deployment started.
DeploymentIdentifier
Type
string
Properties
Create, Filter, Group, idLookup, Nillable, Sort, Update
Description
A unique identifier for the deployment.
DevopsPipelnStgPromId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the associated pipeline stage promotion record. This is a relationship field.
Relationship Name
DevopsPipelnStgProm
Refers To
DevopsPipelnStgProm
EndRevisionCounter
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The revision counter value representing the end state of the source control after this deployment.
IsCheckDeploy
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether this is a validate-only deployment. The default value is false.
IsFullDeploy
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether all changes in the branch is deployed instead of just the changes. The default value is false.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate isn't null, the user accessed this record or list view indirectly.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
The name of the environment deployment record.
RunTests
Type
textarea
Properties
Create, Nillable, Update
Description
A comma-separated list of specific Apex tests to run if TestLevel is set to RunSpecifiedTests.
StartRevisionCounter
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The revision counter value representing the starting state of the source control before this deployment.
Status
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The overall status of the deployment operation. The default value is NEW.
TargetDeployOrgId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the target DevopsEnvironment where the change is deployed. This is a relationship field.
Relationship Name
TargetDeployOrg
Relationship Type
Parent-detail
Refers To
DevopsEnvironment
TestLevel
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Specifies which Apex tests to run during the deployment. The default value is Default.
Possible values are:
  • Default—No tests in sandboxes; all local tests in production.
  • NoTestRun—No tests are run.
  • RunAllTestsInOrg—All tests in the org are run, including those from installed packages.
  • RunLocalTests—All tests in the org are run, excluding those from installed packages.
  • RunSpecifiedTests—Only the tests specified in the RunTests field are run.

Usage

Validate-only deployment is not supported in the next-generation DevOps Center.

Associated Objects

This object has the following associated objects.

DevopsEnvDeployementHistory
History is available for tracked fields of the object.