Streamlining Salesforce Deployment with Gearset: A DevOps Revolution (Part 2)

streamlining-salesforce deployment with gearset a devops revolution Part 2

In Part 1, we explored the limitations of native Salesforce deployment tools and introduced Gearset as a powerful DevOps solution.

Please refer to the blog below to know how to set up the gearset.

Set Up CI/CD Job

  • Navigate to Bitbucket and go to “Branches” and click “Create Branch.” Enter “ UAT” and click “Create branch: UAT from ‘master’.” After successful creation, you’ll be redirected to the UAT branch.
  • In Gearset, go to “Continuous Integration” under the Automation section in the left panel. Click “Create Deployment CI Job.”
  • Enter the details as shown in the image below. Specify your source branch and target org.
automation
  • Under the “Deployment Behavior” section, choose “When the source branch is updated” from the “Run job” field dropdown.
  • In the “Metadata Filter” section, outline the specific metadata you want Gearset to deploy. Select items such as “Custom Application,” “Custom Labels,” “Custom Metadata,” etc.
automation 3
  • In the “Notification Settings” section, choose “Only if CI job fails” for “Send Notifications” and input your email address.
  • Click “Save,” then select “Add webhook” and complete the process. Your CI job is now successfully created. If you visit the Bitbucket repository and inspect webhooks under Repository settings, you’ll find that the Gearset webhook has been created successfully.

This webhook will notify Gearset when any change is pushed to the branch, triggering the CI job.

  • Gearset will execute a sample CI deployment job without deploying anything. You can confirm this by checking the Deployment Status in your UAT sandbox.
  • Congratulations! You have successfully established a CI job for automated deployment. Similarly, you can set up a CI job for production by specifying the source as the master branch and the target as the Production org.
  • Now, proceed to create a pull request from master to UAT, and this action will trigger an actual deployment job to UAT.
deployement status

Congratulations! You’ve successfully migrated your changes to the UAT environment using Gearset.

Set Up CI/CD Job

Throughout the blog we’ve explored the key components of Gearset approach of version control, committing metadata, comparing different code versions and setting up CI/CD pipeline. Gearset is a versatile and powerful deployment tool that transcends the boundaries of traditional Salesforce deployment. Its capabilities extend to other platforms as well, making it an asset for any organization involved in application development and release management.

Leave a Comment

Your email address will not be published. Required fields are marked *

Recent Posts

future-of-ai-powered-business-solutions
Dreamforce 2024: Unveiling the Future of AI-Powered Business Solutions
gitex 2024 worlds largest tech show
GITEX 2024 |  World's Largest Tech Show - ABSYZ
inclusive practices in women leadership equitable future
Inclusive Practices in Women’s Leadership: Equitable Future
salesforce dreamfest 2024 the highlights of dreamforce 2024
Dreamfest 2024: The highlights of Dreamforce 2024
DocuSign CLM the ultimate tool for managing contracts
DocuSign CLM: The Ultimate Tool for Managing Contracts
Document

How can i help you? close button

powered     by   ABSYZ
Scroll to Top