• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moosetechnology / GitProjectHealth / 15138087322

20 May 2025 12:54PM UTC coverage: 72.626% (-0.6%) from 73.222%
15138087322

Pull #196

github

web-flow
Merge 21b0419a5 into 118855527
Pull Request #196: Pipeline 2

785 of 1734 new or added lines in 15 files covered. (45.27%)

199 existing lines in 4 files now uncovered.

15977 of 21999 relevant lines covered (72.63%)

0.73 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

10.47
/src/GitLabHealth-Model/GLHPipeline.class.st
1
"
2
A GitLab Pipeline execution
3

4
## Relations
5
======================
6

7
### Parents
8
| Relation | Origin | Opposite | Type | Comment |
9
|---|
10
| `mergeResquest` | `GLHPipeline` | `pipelines` | `GLHMergeRequest` | |
11
| `project` | `GLHPipeline` | `pipelines` | `GLHProject` | |
12

13
### Children
14
| Relation | Origin | Opposite | Type | Comment |
15
|---|
16
| `jobs` | `GLHPipeline` | `pipeline` | `GLHJob` | |
17

18

19
## Properties
20
======================
21

22
| Name | Type | Default value | Comment |
23
|---|
24
| `created_at` | `Object` | nil | creation date of the pipeline|
25
| `duration` | `Object` | nil | the running duration of a pipeline|
26
| `finished_at` | `Object` | nil | finish date of the pipeline|
27
| `id` | `String` | nil | The id of the pipeline|
28
| `name` | `String` | nil | name of the pipeline|
29
| `runDate` | `Object` | nil | Date this pipeline was run|
30
| `sourceEvent` | `String` | nil | triggering event from where the pipeline originate, such as #push #fork, etc.|
31
| `started_at` | `Object` | nil | start date of the pipeline|
32
| `status` | `String` | nil | #success or #failure|
33
| `status` | `String` | nil | #success or #failure|
34
| `updated_at` | `Object` | nil | update date of the pipeline|
35

36
"
37
Class {
38
        #name : #GLHPipeline,
39
        #superclass : #GLHEntity,
40
        #instVars : [
41
                '#id => FMProperty',
42
                '#name => FMProperty',
43
                '#status => FMProperty',
44
                '#sourceEvent => FMProperty',
45
                '#runDate => FMProperty',
46
                '#created_at => FMProperty',
47
                '#updated_at => FMProperty',
48
                '#started_at => FMProperty',
49
                '#finished_at => FMProperty',
50
                '#duration => FMProperty',
51
                '#project => FMOne type: #GLHProject opposite: #pipelines',
52
                '#jobs => FMMany type: #GLHJob opposite: #pipeline',
53
                '#mergeResquest => FMOne type: #GLHMergeRequest opposite: #pipelines'
54
        ],
55
        #category : #'GitLabHealth-Model-Entities'
56
}
57

58
{ #category : #meta }
UNCOV
59
GLHPipeline class >> annotation [
×
UNCOV
60

×
NEW
61
        <FMClass: #Pipeline super: #GLHEntity>
×
NEW
62
        <package: #'GitLabHealth-Model'>
×
UNCOV
63
        <generated>
×
UNCOV
64
        ^ self
×
UNCOV
65
]
×
66

67
{ #category : #adding }
68
GLHPipeline >> addJob: anObject [
×
69
        <generated>
×
70
        ^ self jobs add: anObject
×
71
]
×
72

73
{ #category : #accessing }
74
GLHPipeline >> created_at [
×
UNCOV
75

×
UNCOV
76
        <FMProperty: #created_at type: #Object>
×
77
        <generated>
×
78
        <FMComment: 'creation date of the pipeline'>
×
79
        ^ created_at
×
80
]
×
81

82
{ #category : #accessing }
NEW
83
GLHPipeline >> created_at: anObject [
×
NEW
84
        <generated>
×
NEW
85
        created_at := anObject
×
NEW
86
]
×
87

88
{ #category : #accessing }
NEW
89
GLHPipeline >> duration [
×
NEW
90

×
NEW
91
        <FMProperty: #duration type: #Object>
×
NEW
92
        <generated>
×
NEW
93
        <FMComment: 'the running duration of a pipeline'>
×
NEW
94
        ^ duration
×
NEW
95
]
×
96

97
{ #category : #accessing }
NEW
98
GLHPipeline >> duration: anObject [
×
NEW
99
        <generated>
×
NEW
100
        duration := anObject
×
NEW
101
]
×
102

103
{ #category : #accessing }
NEW
104
GLHPipeline >> finished_at [
×
NEW
105

×
NEW
106
        <FMProperty: #finished_at type: #Object>
×
NEW
107
        <generated>
×
NEW
108
        <FMComment: 'finish date of the pipeline'>
×
NEW
109
        ^ finished_at
×
NEW
110
]
×
111

112
{ #category : #accessing }
NEW
113
GLHPipeline >> finished_at: anObject [
×
NEW
114
        <generated>
×
NEW
115
        finished_at := anObject
×
NEW
116
]
×
117

118
{ #category : #accessing }
NEW
119
GLHPipeline >> id [
×
NEW
120

×
NEW
121
        <FMProperty: #id type: #String>
×
NEW
122
        <generated>
×
NEW
123
        <FMComment: 'The id of the pipeline'>
×
NEW
124
        ^ id
×
NEW
125
]
×
126

127
{ #category : #accessing }
128
GLHPipeline >> id: anObject [
×
129
        <generated>
×
130
        id := anObject
×
131
]
×
132

133
{ #category : #accessing }
134
GLHPipeline >> jobs [
×
UNCOV
135
        "Relation named: #jobs type: #GLHJob opposite: #pipeline"
×
UNCOV
136

×
137
        <generated>
×
138
        <derived>
×
139
        ^ jobs
×
140
]
×
141

142
{ #category : #accessing }
143
GLHPipeline >> jobs: anObject [
×
144

×
145
        <generated>
×
146
        jobs value: anObject
×
147
]
×
148

149
{ #category : #navigation }
UNCOV
150
GLHPipeline >> jobsGroup [
×
UNCOV
151
        <generated>
×
152
        <navigation: 'Jobs'>
×
153
        ^ MooseSpecializedGroup withAll: self jobs asSet
×
154
]
×
155

156
{ #category : #accessing }
UNCOV
157
GLHPipeline >> mergeResquest [
×
UNCOV
158
        "Relation named: #mergeResquest type: #GLHMergeRequest opposite: #pipelines"
×
159

×
160
        <generated>
×
161
        <container>
×
162
        ^ mergeResquest
×
163
]
×
164

165
{ #category : #accessing }
166
GLHPipeline >> mergeResquest: anObject [
×
NEW
167

×
168
        <generated>
×
169
        mergeResquest := anObject
×
NEW
170
]
×
171

172
{ #category : #navigation }
UNCOV
173
GLHPipeline >> mergeResquestGroup [
×
UNCOV
174
        <generated>
×
175
        <navigation: 'MergeResquest'>
×
176
        ^ MooseSpecializedGroup with: self mergeResquest
×
177
]
×
178

179
{ #category : #accessing }
UNCOV
180
GLHPipeline >> name [
×
NEW
181

×
NEW
182
        <FMProperty: #name type: #String>
×
NEW
183
        <generated>
×
NEW
184
        <FMComment: 'name of the pipeline'>
×
NEW
185
        ^ name
×
NEW
186
]
×
187

188
{ #category : #accessing }
NEW
189
GLHPipeline >> name: anObject [
×
NEW
190
        <generated>
×
NEW
191
        name := anObject
×
NEW
192
]
×
193

194
{ #category : #accessing }
NEW
195
GLHPipeline >> project [
×
NEW
196
        "Relation named: #project type: #GLHProject opposite: #pipelines"
×
NEW
197

×
NEW
198
        <generated>
×
NEW
199
        <container>
×
NEW
200
        ^ project
×
NEW
201
]
×
202

203
{ #category : #accessing }
204
GLHPipeline >> project: anObject [
×
205

×
206
        <generated>
×
207
        project := anObject
×
208
]
×
209

210
{ #category : #navigation }
UNCOV
211
GLHPipeline >> projectGroup [
×
UNCOV
212
        <generated>
×
213
        <navigation: 'Project'>
×
214
        ^ MooseSpecializedGroup with: self project
×
215
]
×
216

217
{ #category : #accessing }
218
GLHPipeline >> runDate [
1✔
219

1✔
220
        <FMProperty: #runDate type: #Object>
1✔
221
        <generated>
1✔
222
        <FMComment: 'Date this pipeline was run'>
1✔
223
        ^ runDate
1✔
224
]
1✔
225

226
{ #category : #accessing }
227
GLHPipeline >> runDate: anObject [
1✔
228
        <generated>
1✔
229
        runDate := anObject
1✔
230
]
1✔
231

232
{ #category : #accessing }
NEW
233
GLHPipeline >> sourceEvent [
×
NEW
234

×
NEW
235
        <FMProperty: #sourceEvent type: #String>
×
NEW
236
        <generated>
×
NEW
237
        <FMComment: 'triggering event from where the pipeline originate, such as #push #fork, etc.'>
×
NEW
238
        ^ sourceEvent
×
NEW
239
]
×
240

241
{ #category : #accessing }
UNCOV
242
GLHPipeline >> sourceEvent: anObject [
×
UNCOV
243
        <generated>
×
UNCOV
244
        sourceEvent := anObject
×
UNCOV
245
]
×
246

247
{ #category : #accessing }
UNCOV
248
GLHPipeline >> started_at [
×
UNCOV
249

×
UNCOV
250
        <FMProperty: #started_at type: #Object>
×
UNCOV
251
        <generated>
×
UNCOV
252
        <FMComment: 'start date of the pipeline'>
×
UNCOV
253
        ^ started_at
×
UNCOV
254
]
×
255

256
{ #category : #accessing }
NEW
257
GLHPipeline >> started_at: anObject [
×
NEW
258
        <generated>
×
NEW
259
        started_at := anObject
×
NEW
260
]
×
261

262
{ #category : #accessing }
263
GLHPipeline >> status [
1✔
264

1✔
265
        <FMProperty: #status type: #String>
1✔
266
        <generated>
1✔
267
        <FMComment: '#success or #failure'>
1✔
268
        ^ status
1✔
269
]
1✔
270

271
{ #category : #accessing }
NEW
272
GLHPipeline >> status: anObject [
×
NEW
273
        <generated>
×
NEW
274
        status := anObject
×
NEW
275
]
×
276

277
{ #category : #accessing }
NEW
278
GLHPipeline >> updated_at [
×
NEW
279

×
NEW
280
        <FMProperty: #updated_at type: #Object>
×
NEW
281
        <generated>
×
NEW
282
        <FMComment: 'update date of the pipeline'>
×
NEW
283
        ^ updated_at
×
NEW
284
]
×
285

286
{ #category : #accessing }
NEW
287
GLHPipeline >> updated_at: anObject [
×
NEW
288
        <generated>
×
NEW
289
        updated_at := anObject
×
NEW
290
]
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc