Sentry - BredaUniversityGames/JenkinsLib GitHub Wiki
Uploads debug symbols (PDB files) to Sentry for crash report symbolication.
stages {
perforce.sync()
ue5.build()
sentry.upload()
discord.alert()
}- sentry-cli installed on the build agent
- A Sentry organization and project configured
- Sentry auth token stored as a Jenkins credential
| Parameter | Default | Description |
|---|---|---|
SENTRY_CLI_PATH |
(empty) | Path to sentry-cli.exe
|
SENTRY_AUTH_TOKEN_ID |
(empty) | Jenkins credential ID for Sentry auth token |
SENTRY_ORG |
(empty) | Sentry organization slug |
SENTRY_PROJECT |
(empty) | Sentry project slug |
- Generate an auth token at Sentry Auth Tokens with
project:releasesandorg:readscopes - Navigate to your team's folder in Jenkins
- Credentials > Add Credentials
-
Kind:
Secret text - Secret: paste your Sentry auth token
-
ID: e.g.,
sentry-myproject
- Runs
sentry-cli upload-difto scan the build output for debug information files - Uploads PDB/DWARF files to Sentry
- Failures are non-fatal — if Sentry is offline, the build continues with a warning
Note: This stage gracefully handles Sentry being unavailable. A failed upload will log a warning but will not fail the build.