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

DocuSign CLM the ultimate tool for managing contracts
DocuSign CLM: The Ultimate Tool for Managing Contracts
salesforce ui design update a detailed overview
Salesforce UI Design Update: A Detailed Overview
dreamforce 2024
Dreamforce 2024: A 3-Day Event of Learning, Connection, and Inspiration
how-can-slaesforce b2b commerce cloud increase customer engagement
How Can Salesforce B2B Commerce Cloud Increase Customer Engagement
salesforce for financial services transforming customer engagement operational effectiveness
Salesforce for Financial Services: Transforming Customer Engagement & Operational Effectiveness
Document

How can i help you? close button

powered     by   ABSYZ
Scroll to Top