add source-version to additional information in codebuild details#415
add source-version to additional information in codebuild details#415
Conversation
Codecov Report
@@ Coverage Diff @@
## main #415 +/- ##
=======================================
Coverage 71.66% 71.66%
=======================================
Files 19 19
Lines 1041 1041
=======================================
Hits 746 746
Misses 228 228
Partials 67 67
Continue to review full report at Codecov.
|
|
LGTM, do you have a reference to the corresponding AWS Docs I can look at to verify? If not that's fine, just need to make some time to trigger the event myself :) |
|
I don't. The only docs I found on the codebuild notification event, were only example JSONs that didn't include this field. But I found that it exists when actually consuming codebuild notifications. https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html |
|
I was able to verify this by starting a build using the "Start build with overrides" flow in the console. |
This adds the
source-versionto the CodeBuildEventAdditionalInformation struct. The value is the commit id when the source is github or bitbucket.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.