DevopsEnvDeployment

Represents a record created during the promotion or deployment process to track deployment actions, status, and associated details within a Lifecycle Center pipeline.

Introduced in API version 65.0.

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

  • 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
  • Relationship type: relationship
  • Refers to: DevopsPipelineStage
  • Type: datetime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date and time when a validate-only deployment completed.
  • Type: datetime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date and time when a validate-only deployment started.
  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the DevopsRequestInfo record tracking the status of the deployment. This is a relationship field.
  • Relationship name: CheckDeployRequestInfo
  • Relationship type: relationship
  • Refers to: DevopsRequestInfo
  • 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:
    • CANCELLED — CANCELLED
    • ERROR — ERROR
    • FINALIZING — FINALIZING
    • INTERRUPTED — INTERRUPTED
    • IN_PROGRESS — IN_PROGRESS
    • NEW — NEW
    • SUCCESS — SUCCESS
  • Type: datetime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date and time when the deployment operation completed.
  • 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
  • Relationship type: relationship
  • Refers to: DevopsRequestInfo
  • 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:
    • CANCELLED — CANCELLED
    • ERROR — ERROR
    • FINALIZING — FINALIZING
    • INTERRUPTED — INTERRUPTED
    • IN_PROGRESS — IN_PROGRESS
    • NEW — NEW
    • SUCCESS — SUCCESS
  • Type: datetime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date and time when the deployment started.
  • Type: string
  • Properties: Create, Filter, Group, idLookup, Nillable, Sort, Update
  • Description: A unique identifier for the deployment.
  • 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
  • Relationship type: relationship
  • Refers to: DevopsPipelnStgProm
  • 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.
  • 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.
  • Default value: false
  • 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.
  • Default value: false
  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The name of the environment deployment record.
  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: A comma-separated list of specific Apex tests to run if TestLevel is set to RunSpecifiedTests.
  • Type: textarea
  • Properties: Create, Nillable, Update
  • 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.
  • 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.
  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the pipeline stage associated with the replace environment operation. This is a relationship field.
  • Relationship name: SwapStage
  • Relationship type: relationship
  • Refers to: DevopsPipelineStage
  • 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: masterdetail
  • Refers to: DevopsEnvironment
  • 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:
    • Default — Default — No tests in sandboxes; all local tests in production.
    • NoTestRun — NoTestRun — No tests are run.
    • RunAllTestsInOrg — RunAllTestsInOrg — All tests in the org are run, including those from installed packages.
    • RunLocalTests — RunLocalTests — All tests in the org are run, excluding those from installed packages.
    • RunSpecifiedTests — RunSpecifiedTests — Only the tests specified in the RunTests field are run.

Validate-only deployment is not supported in the Lifecycle Center.

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.