Title: Fix bamboo build number being empty by joheintz · Pull Request #1 · git-commit-id/git-commit-id-plugin-core · GitHub
Open Graph Title: Fix bamboo build number being empty by joheintz · Pull Request #1 · git-commit-id/git-commit-id-plugin-core
X Title: Fix bamboo build number being empty by joheintz · Pull Request #1 · git-commit-id/git-commit-id-plugin-core
Description: Hi there, I noticed, that the field git.build.number was empty on our Bamboo (v7.2.3). After a bit of digging, I found that it has to do with the environment variables which the plugin is reading. It's reading bamboo.buildNumber and BAMBOO_BUILDNUMBER, however bamboo is only setting bamboo_buildNumber. In the documentation (https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html#Bamboovariables-Systemvariables) under "System variables" it is explained that "Bamboo Variables" are converted to shell variables by converting any dot to an underscore. My understanding is that Bamboo Variables like "bamboo.buildNumber" are only substituted when used in a command or script task in Bamboo. Contributor Checklist Added relevant integration or unit tests to verify the changes Update the Readme or any other documentation (including relevant Javadoc) Ensured that tests pass locally: mvn clean package Ensured that the code meets the current checkstyle coding style definition: mvn clean verify -Pcheckstyle -Dmaven.test.skip=true -B
Open Graph Description: Hi there, I noticed, that the field git.build.number was empty on our Bamboo (v7.2.3). After a bit of digging, I found that it has to do with the environment variables which the plugin is reading. ...
X Description: Hi there, I noticed, that the field git.build.number was empty on our Bamboo (v7.2.3). After a bit of digging, I found that it has to do with the environment variables which the plugin is reading. ...
Opengraph URL: https://github.com/git-commit-id/git-commit-id-plugin-core/pull/1
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:33efdf65-b469-202f-8e7a-13102739cc72 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B05C:1C4DA1:A8CF2:E1AF4:698F844C |
| html-safe-nonce | 3e7b5c805cb404862add61193942ccc48c17c35b7170999acde35a08638e1275 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDVDOjFDNERBMTpBOENGMjpFMUFGNDo2OThGODQ0QyIsInZpc2l0b3JfaWQiOiI0NDc0NzI0ODU2MDY4Mjc3MzI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fd2d72d1b5c74a69c2086067f0f3edf6af5d1b332185446d553de5d236fb4ef9 |
| hovercard-subject-tag | pull_request:683680835 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/git-commit-id/git-commit-id-plugin-core/pull/1/checks |
| twitter:image | https://avatars.githubusercontent.com/u/45975290?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/45975290?s=400&v=4 |
| og:image:alt | Hi there, I noticed, that the field git.build.number was empty on our Bamboo (v7.2.3). After a bit of digging, I found that it has to do with the environment variables which the plugin is reading. ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4763146d672e989a41c6c0bd715790c0c59341d9f855508c8a3196e1e480b8f7 |
| turbo-cache-control | no-preview |
| go-import | github.com/git-commit-id/git-commit-id-plugin-core git https://github.com/git-commit-id/git-commit-id-plugin-core.git |
| octolytics-dimension-user_id | 43124426 |
| octolytics-dimension-user_login | git-commit-id |
| octolytics-dimension-repository_id | 376144855 |
| octolytics-dimension-repository_nwo | git-commit-id/git-commit-id-plugin-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 376144855 |
| octolytics-dimension-repository_network_root_nwo | git-commit-id/git-commit-id-plugin-core |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 38243223a284e53debe5a0f476578cf4a0521de7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width