File tree 3 files changed +10
-6
lines changed
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ type CodeBuildEventAdditionalInformation struct {
111
111
112
112
Source CodeBuildSource `json:"source"`
113
113
114
+ SourceVersion string `json:"source-version"`
115
+
114
116
Logs CodeBuildLogs `json:"logs"`
115
117
116
118
Phases []CodeBuildPhase `json:"phases"`
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ func TestUnmarshalCodeBuildEvent(t *testing.T) {
59
59
Location : "codebuild-123456789012-input-bucket/my-input-artifact.zip" ,
60
60
Type : "S3" ,
61
61
},
62
+ SourceVersion : "my-source-version" ,
62
63
Logs : CodeBuildLogs {
63
64
GroupName : "/aws/codebuild/my-sample-project" ,
64
65
StreamName : "8745a7a9-c340-456a-9166-edf953571bEX" ,
Original file line number Diff line number Diff line change 41
41
"location" : " codebuild-123456789012-input-bucket/my-input-artifact.zip" ,
42
42
"type" : " S3"
43
43
},
44
+ "source-version" : " my-source-version" ,
44
45
"logs" : {
45
46
"group-name" : " /aws/codebuild/my-sample-project" ,
46
47
"stream-name" : " 8745a7a9-c340-456a-9166-edf953571bEX" ,
56
57
"phase-status" : " SUCCEEDED"
57
58
},
58
59
{
59
- "phase-context" : [],
60
- "start-time" : " Sep 1, 2017 4:12:29 PM" ,
61
- "end-time" : " Sep 13, 2019 4:12:29 AM" ,
62
- "duration-in-seconds" : 0.0 ,
63
- "phase-type" : " QUEUED" ,
64
- "phase-status" : " SUCCEEDED"
60
+ "phase-context" : [],
61
+ "start-time" : " Sep 1, 2017 4:12:29 PM" ,
62
+ "end-time" : " Sep 13, 2019 4:12:29 AM" ,
63
+ "duration-in-seconds" : 0.0 ,
64
+ "phase-type" : " QUEUED" ,
65
+ "phase-status" : " SUCCEEDED"
65
66
},
66
67
{
67
68
"phase-context" : [],
You can’t perform that action at this time.
0 commit comments