Commit c605f87
refactor(ci): Align CI detection with sentry-android-gradle-plugin
Match the original implementation exactly:
- Replace CONTINUOUS_INTEGRATION with actual CI-specific variables
- Replace BUILD_NUMBER with JENKINS_URL (already present)
- Replace CIRCLECI with CIRCLE_BUILD_URL
- Replace TRAVIS with TRAVIS_JOB_ID
- Remove BITBUCKET_BUILD_NUMBER (not in original)
- Add bamboo_resultsUrl (Bamboo)
- Add BITRISE_BUILD_URL (Bitrise)
- Add GO_SERVER_URL (GoCD)
- Add TF_BUILD (Azure Pipelines)
This provides more accurate CI detection by checking platform-specific
variables rather than generic ones.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent aa688f2 commit c605f87
1 file changed
+23
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | | - | |
17 | 20 | | |
18 | | - | |
19 | | - | |
20 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | | - | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
55 | | - | |
56 | | - | |
57 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
58 | 64 | | |
59 | 65 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | | - | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| |||
0 commit comments