Deployment Result (sf_devops__Deployment_Result__c)

Contains information from DevOps Center to the Heroku application about how to execute a metadata deployment to an environment, such as the Apex tests and test level. After the deployment completes, this object then stores information about the deployment, such as the deployment ID and completion date. See How Promotions Work for more information. This object is available in all orgs that have DevOps Center installed.

Supported Calls

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

Fields

Field Type Properties Description
Name string Autonumber, Defaulted on create, Filter, idLookup, Sort Name of this Deployment Result record.
OwnerId reference Create, Defaulted on create, Filter, Group, Sort, Update ID of the user who owns this record. This field is a polymorphic relationship field. Relationship name: Owner. Relationship type: Lookup. Refers to: Group, User.
sf_devops__Check_Deploy_Date__c dateTime Create, Filter, Nillable, Sort, Update Specifies the date and time that a validate-only deployment completed. DevOps Center uses this value to prompt the user when a validate-only deployment is about to expire.
sf_devops__Check_Deploy_Status__c reference Create, Filter, Group, Nillable, Sort, Update Reference to the Async Operation Result record that was used to perform the validate-only deployment. This field is a relationship field. Relationship name: sf_devops__Check_Deploy_Status__r. Relationship type: Lookup. Refers to: sf_devops__Async_Operation_Result__c.
sf_devops__Check_Deploy__c boolean Create, Defaulted on create, Filter, Group, Sort, Update DevOps Center sets this field to true to alert the Heroku application to perform a validate-only deployment. The default value is false.
sf_devops__Completion_Date__c dateTime Create, Filter, Nillable, Sort, Update Date and time when the promotion of this Deployment Result completed.
sf_devops__Deployment_Id__c string Create, Filter, Group, Nillable, Sort, Update ID of the deployment. The Heroku application sets this field after a successful deployment to the environment.
sf_devops__Full_Deploy__c boolean Create, Defaulted on create, Filter, Group, Sort, Update DevOps Center sets this field to true to alert the Heroku application to deploy all of the metadata from the branch, rather than just the metadata components in the Deploy Component records. The default value is false.
sf_devops__Number_Tests_Completed__c double Create, Defaulted on create, Filter, Nillable, Sort, Update Number of tests that completed as part of the deployment to the environment. The Heroku application sets this field after the deployment. DevOps Center uses this field to determine if a validate-only deployment is available for a subsequent quick deploy.
sf_devops__Run_Tests__c textarea Create, Nillable, Update If the Test Level field is set to RunSpecifiedTests, this field contains the comma-separated list of Apex tests to run during the deployment.
sf_devops__Status__c reference Create, Filter, Group, Nillable, Sort, Update Reference to the Async Operation Result record that was used for the associated promotion or quick deploy. This field is a relationship field. Relationship name: sf_devops__Status__r. Relationship type: Lookup. Refers to: sf_devops__Async_Operation_Result__c.
sf_devops__Test_Level__c string Create, Filter, Group, Nillable, Sort, Update Specifies the level of Apex tests to run during the deployment. The Heroku application uses this field when it executes the deployment. Valid values are NoTestRun, RunAllTestsInOrg, RunLocalTests, or RunSpecifiedTests.

See Also