Sentry Commit Tracking - 2019-05-17 00:00:00

https://docs.sentry.io/workflow/integrations/global-integrations/#commit-tracking-4 关于 Releases https://docs.sentry.io/workflow/releases/?platform=php#create-deploy 如果配置了releases版本, 会有额外的功能 配置发布版本 在项目sdk配置 在sentry上创建 releases 版本, 关联 commits 部署是通知 sentry ruby sdk release 配置 Create Release and Associate Commits 这一步告诉sentry 这个release 有哪些commit 有两步 Organization Settings > Integrations. 配置 gitab 集成 部署的时候告诉sentry 部署了啥, 有哪些commit, 可以用 sentry-cli工具 在gitlab ci 的配置示例 官方 sentry-cli 文档 https://docs.sentry.io/workflow/releases/?platform=php#associate-commits-with-a-release sentry_commmit_tracking: stage: after_deploy image: getsentry/sentry-cli dependencies: - staging_deploy - prod_deploy script: - echo "Sentry Commit Tracking" - export SENTRY_URL=https://sentry.