Oct 05, 2023
CumulusCI (Cumulus Continuous Integration) is an open-source framework developed by Salesforce.org (formerly the Salesforce Foundation) to automate the process of building, testing, and deploying Salesforce applications and metadata. It is specifically designed to help nonprofit and educational organizations that use Salesforce, but it can be used by anyone who develops on the Salesforce platform.
cmd \>sfdx auth:web:login -a CCIDevHub
cmd \>sfdx force:org:open -u CCIDevHub
cmd \>cci service connect github github.com
cmd \>cci project init
cmd \>cci service connect devhub --project
cmd \>cci flow run dev_org --org dev
cci flow run
- some series of task.
dev_org
- This flow create and config scratch org.
--org dev
- Tells CumulusCI in which scratch org to run the flow
cmd \>cci org browser dev
cmd \>cci task run list_changes --org dev -o exclude "Profile:"
cmd \>cci task run retrieve_changes --org dev -o exclude "Profile:"
cmd \>cci task run generate_dataset_mapping --org dev
cmd \>cci task run extract_dataset --org dev
cmd \>cci flow info config_qa
cmd \>cci flow info config_dev
cmd \>cci flow info qa_org
cmd \>cci flow info dev_org
cmd \>cci flow run qa_org --org qa
cmd \> cci org browser qa
cmd \>cci org scratch_delete dev
cmd \>cci org scratch_delete qa
cmd \>cci org connect packaging
cmd \> cci org list
cmd \> cci org browser packaging
cmd \>cci flow run ci_master --org packaging
cmd \>cci flow run release_beta --org packaging
ci_master
- use to flow to deploy the package into the packaging org
--org packaging
-It is piece of the command tells CumulusCI which org to run the flow in
cmd \> cci flow run ci_beta --org beta
Delete the beta org:
cmd \> cci org scratch_delete beta
cmd \> cci flow run release_production --org packaging
cmd \> cci org connect sandbox --sandbox
cmd \>cci flow run install_prod --org sandbox
cmd \>cci org browser sandbox
cmd \>cci service connect devhub --project
cmd \> cci org connect pro
cmd \>cci flow run dev_org --org production
I hope this blog helped you!