@@ -19,7 +19,7 @@ message Envelope {
19
19
// Compiler(s)
20
20
Pickle pickle = 3 ;
21
21
22
- //
22
+ //
23
23
StepDefinition step_definition = 4 ;
24
24
Hook hook = 5 ;
25
25
ParameterType parameter_type = 6 ;
@@ -37,7 +37,7 @@ message Envelope {
37
37
38
38
// Parsing
39
39
ParseError parse_error = 16 ;
40
-
40
+
41
41
Meta meta = 17 ;
42
42
}
43
43
}
@@ -63,14 +63,36 @@ message Meta {
63
63
64
64
// 386, arm, amd64 etc
65
65
Product cpu = 5 ;
66
-
66
+
67
+ // CI environment
68
+ CI ci = 6 ;
69
+
67
70
// A product has a name and a version
68
71
message Product {
69
72
// The product name
70
73
string name = 1 ;
71
74
// The product version
72
75
string version = 2 ;
73
76
}
77
+
78
+ message CI {
79
+ // Name of the CI product, e.g. "Jenkins", "CircleCI" etc.
80
+ string name = 1 ;
81
+
82
+ // Link to the build
83
+ string url = 2 ;
84
+
85
+ // Information about Git, provided by the Build/CI server as environment
86
+ // variables.
87
+ Git git = 3 ;
88
+
89
+ message Git {
90
+ string remote = 1 ;
91
+ string revision = 2 ;
92
+ string branch = 3 ;
93
+ string tag = 4 ;
94
+ }
95
+ }
74
96
}
75
97
76
98
@@ -340,7 +362,7 @@ message Attachment {
340
362
* - stream => BASE64
341
363
*/
342
364
ContentEncoding content_encoding = 6 ;
343
-
365
+
344
366
enum ContentEncoding {
345
367
IDENTITY = 0 ;
346
368
// When this is used, the data field is a single line base64 string
@@ -535,7 +557,7 @@ message TestStepFinished {
535
557
string test_step_id = 3 ;
536
558
string test_case_started_id = 4 ;
537
559
538
-
560
+
539
561
message TestStepResult {
540
562
Status status = 1 ;
541
563
string message = 2 ;
@@ -580,9 +602,9 @@ message TestRunFinished {
580
602
// Timestamp when the TestRun is finished
581
603
Timestamp timestamp = 2 ;
582
604
// Error message. Can be a stack trace from a failed `BeforeAll` or `AfterAll`.
583
- // If there are undefined parameter types, the message is simply
584
- // "The following parameter type(s() are not defined: xxx, yyy".
585
- // The independent `UndefinedParameterType` messages can be used to generate
605
+ // If there are undefined parameter types, the message is simply
606
+ // "The following parameter type(s() are not defined: xxx, yyy".
607
+ // The independent `UndefinedParameterType` messages can be used to generate
586
608
// snippets for those parameter types.
587
609
string message = 3 ;
588
610
}
0 commit comments