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 

FieldTypePropertiesDescription
NamestringAutonumber, Defaulted on create, Filter, idLookup, SortName of this Deployment Result record.
OwnerIdreferenceCreate, Defaulted on create, Filter, Group, Sort, UpdateID 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__cdateTimeCreate, Filter, Nillable, Sort, UpdateSpecifies 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__creferenceCreate, Filter, Group, Nillable, Sort, UpdateReference 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__cbooleanCreate, Defaulted on create, Filter, Group, Sort, UpdateDevOps 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__cdateTimeCreate, Filter, Nillable, Sort, UpdateDate and time when the promotion of this Deployment Result completed.
sf_devops__Deployment_Id__cstringCreate, Filter, Group, Nillable, Sort, UpdateID of the deployment. The Heroku application sets this field after a successful deployment to the environment.
sf_devops__Full_Deploy__cbooleanCreate, Defaulted on create, Filter, Group, Sort, UpdateDevOps 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__cdoubleCreate, Defaulted on create, Filter, Nillable, Sort, UpdateNumber 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__ctextareaCreate, Nillable, UpdateIf 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__creferenceCreate, Filter, Group, Nillable, Sort, UpdateReference 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__cstringCreate, Filter, Group, Nillable, Sort, UpdateSpecifies 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