forked from ViaQ/elasticsearch-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci_job.yml
85 lines (71 loc) · 1.83 KB
/
ci_job.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
namespace:
name: ci_job
type: group
description: >
Namespace for CI-specific metadata. f.e. Jenkins job run metadata.
The namespace contains the details for the metadata of individual job run.
fields:
- name: master
type: string
description: >
FQDN of the CI Master server.
- name: name
type: string
description: >
Name of the CI job.
- name: number
type: integer
description: >
Build number of the CI job.
- name: timestamp
type: date
format: yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ||yyyy-MM-dd'T'HH:mm:ssZ||dateOptionalTime
description: >
Time of the build completion if different from field "@timestamp".
- name: duration
type: float
description: >
Build duration in seconds.
- name: phase
type: string
description: >
Phase of the CI job.
- name: result
type: string
description: >
CI job result.
- name: url
type: string
description: >
Full URL to the CI job on the CI master.
- name: node_name
type: string
description: >
The Jenkins node that executes the CI job.
- name: node_description
type: string
description: >
The description of Jenkins node.
- name: hostname
type: string
description: >
The Jenkins master for the node.
- name: artifacts
type: group
description: >
List of the artifacts of the build.
The console output in case of Jenkins is considered an artifact with name
`consoleText`.
fields:
- name: name
type: string
description: >
file name of the artifact
- name: url
type: string
description: >
URL to the html log of the CI job on cold storage.
- name: original_url
type: string
description: >
URL to the html log of the CI job on the CI server.