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