Sentry Deploy Integration
Prerequisites
- •Sentry CLI installed
- •
SENTRY_AUTH_TOKENconfigured - •Build pipeline access
- •Source maps generated during build
Instructions
- •Create release using git SHA or semantic version with sentry-cli
- •Upload source maps from build output directory
- •Associate commits using sentry-cli releases set-commits --auto
- •Finalize the release to mark it complete
- •Deploy application to target environment
- •Notify Sentry of deployment with environment and timestamps
- •Enable session tracking for release health metrics
- •Configure environment-specific sample rates
- •Set up rollback tracking to record version changes
- •Use Sentry dashboard to compare releases and monitor health
Output
- •Releases created for each deployment
- •Source maps uploaded and linked
- •Deployment notifications sent
- •Release health metrics tracked
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.