达到数据和人工智能成熟度是释放业务价值的关键
我们可以使用官方 sentry-cli 工具操作 Sentry API,从而来为你的项目管理一些数据。它主要用于管理 iOS、Android 的调试信息文件,以及其他平台的版本(release)和源代码映射(source maps)管理。
安装 Docker 镜像
默认情况下,该命令在 /work 目录中运行。挂载相关的你的项目文件夹并在那里构建输出以允许 sentry-cli 扫描资源:
# 拉取镜像 docker pull getsentry/sentry-cli # 执行命令 docker run --rm -v $(pwd):/work getsentry/sentry-cli --help # sentry-cli 1.68.0 # Command line utility for Sentry. # This tool helps you manage remote resources on a Sentry server like # sourcemaps, debug symbols or releases. Use `--help` on the subcommands # to learn more about them. # USAGE: # sentry-cli # OPTIONS: # --api-key <API_KEY> # The given Sentry API key. # --auth-token <AUTH_TOKEN> # Use the given Sentry auth token. # -h, --help # Print this help message. # --log-level <LOG_LEVEL> # Set the log output verbosity. [possible values: trace, debug, info, warn, error] # --url # Fully qualified URL to the Sentry server. # [defaults to https://sentry.io/] # -V, --version # Print version information. # SUBCOMMANDS: # bash-hook Prints out a bash script that does error handling. # difutil Locate or analyze debug information files. # help Prints this message or the help of the given subcommand(s) # info Print information about the Sentry server. # issues Manage issues in Sentry. # login Authenticate with the Sentry server. # projects Manage projects on Sentry. # react-native Upload build artifacts for react-native projects. # releases Manage releases on Sentry. # repos Manage repositories on Sentry. # send-event Send a manual event to Sentry. # upload-dif Upload debugging information files. # upload-proguard Upload ProGuard mapping files to a project. 配置和认证 配置文件
sentry-cli 工具可以使用名为 .sentryclirc 的配置文件以及环境变量和 .env 文件进行配置。从当前路径向上查找配置文件,并且始终加载 ~/.sentryclirc 中的默认值。您还可以从命令行参数覆盖这些设置。
.sentryclirc
[auth] token=your-auth-token [defaults] org=sentry project=react-sentry-demo url=https://x.xxx.com
进入容器内
创建一个新版本:
docker run --rm -it -v $(pwd):/work getsentry/sentry-cli /bin/sh sentry-cli releases new 1.0.0 Refs
https://docs.sentry.io/product/cli/
相关文章

标签: 腾讯云 CodeBuddy WorkBuddy 王慧星
云梦级4月2日云梦级消息,雷峰网云梦级消息,日前腾讯云发布一则内部信,将成立云产品六部,负责构建AI原生的代码(CodeBuddy)与泛生产力智能体(WorkBuddy),推进系列智能体产品的能力建设2026-11-28
云梦级11月6日云梦级消息,11月6日,全球领先的自动驾驶科技公司文远知行WeRide(HKEX: 0800,Nasdaq: WRD)正式在香港交易所挂牌上市,股票代码0800.HK。继在纳斯达克上市2026-11-28
4月11日消息,近日,字节跳动旗下数字服务与智能科技品牌火山引擎正式对外发布大数据研发治理套件。 据介绍,在产品能力上,火山引擎大数据研发治理套件拥有以下几点优势: 1. 整合全域数据,支持20余种异2026-11-28
云梦级3月24日云梦级消息,商汤-W(00020)发布截至2025年12月31日止年度业绩,该集团取得收入人民币50.15亿元(单位下同),同比增加32.9%;经调整亏损净额19.56亿元,同比收窄52026-11-28
前言 HIVE 作为大数据生态的数仓解决方案,因为历史的原因在很多行业很多公司都有着广泛的应用。对于比较复杂的业务逻辑,HIVE SQL 往往比较难以表达,此时大家在开发中往往会辅以 HIVE UDF2026-11-28
默认情况下,在容器内创建的所有文件都存储在可写容器层上。这意味着: 当该容器不再存在时,数据将不会持久保存,并且如果另一个进程需要它,则可能很难从容器中取出数据。 容器的可写层与运行容器的主机紧密耦合2026-11-28

最新评论