DevOps Center Best Practices
1. Native Salesforce Experience
Keep one DevOps project for one application.
Avoid mixing multiple projects in a single repository.
2. Always Use Work Items
Ensure every change is linked to a Work Item.
This helps in proper tracking and version control.
3. Follow Proper Pipeline Structure
Recommended flow:
Development → Testing → (Release) → Production
Avoid skipping stages and always test before deployment.
4. Use Separate Environments
- Development → Sandbox
- Testing → UAT Sandbox
- Production → Live Org
Never develop directly in Production
5. Keep Work Items Small
Break large features into smaller tasks.
This makes testing and deployment easier.
6. Use Meaningful Naming Conventions
- Work Item: Add_Account_Validation
- Branch: feature/account-validation
7. Sync with Git Regularly
- Pull latest changes
- Resolve conflicts early
This helps avoid deployment issues.
8. Validate Before Promotion
Always test changes before promoting to the next stage.
This reduces production risks.
Common Mistakes to Avoid
- Making direct changes in Production
- Skipping testing stages
- Not using Work Items
- Ignoring merge conflicts
- Using one repo for multiple projects