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

moosetechnology / GitProjectHealth / 17979391720

24 Sep 2025 02:09PM UTC coverage: 77.063% (+3.7%) from 73.342%
17979391720

Pull #233

github

web-flow
Merge 486060945 into dd8ffa1f6
Pull Request #233: V2.0.0 : Refactoring importers

3479 of 3743 new or added lines in 41 files covered. (92.95%)

26 existing lines in 6 files now uncovered.

21745 of 28217 relevant lines covered (77.06%)

0.77 hits per line

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

65.37
/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
| `mergeRequest` | `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
### Other
19
| Relation | Origin | Opposite | Type | Comment |
20
|---|
21
| `user` | `GLHPipeline` | `launchedPipelines` | `GLHUser` | |
22

23

24
## Properties
25
======================
26

27
| Name | Type | Default value | Comment |
28
|---|
29
| `created_at` | `Object` | nil | creation date of the pipeline|
30
| `duration` | `Object` | nil | the running duration of a pipeline|
31
| `finished_at` | `Object` | nil | finish date of the pipeline|
32
| `id` | `String` | nil | The id of the pipeline|
33
| `name` | `String` | nil | name of the pipeline|
34
| `ref` | `String` | nil | reference its emmited source (merge request or else)|
35
| `runDate` | `Object` | nil | Date this pipeline was run|
36
| `sha` | `String` | nil | sha of its emmited source|
37
| `sourceEvent` | `String` | nil | triggering event from where the pipeline originate, such as #push #fork, etc.|
38
| `started_at` | `Object` | nil | start date of the pipeline|
39
| `status` | `String` | nil | #success or #failure|
40
| `updated_at` | `Object` | nil | update date of the pipeline|
41

42
"
43
Class {
44
        #name : #GLHPipeline,
45
        #superclass : #GLHEntity,
46
        #instVars : [
47
                '#id => FMProperty',
48
                '#name => FMProperty',
49
                '#status => FMProperty',
50
                '#ref => FMProperty',
51
                '#sha => FMProperty',
52
                '#sourceEvent => FMProperty',
53
                '#runDate => FMProperty',
54
                '#created_at => FMProperty',
55
                '#updated_at => FMProperty',
56
                '#started_at => FMProperty',
57
                '#finished_at => FMProperty',
58
                '#duration => FMProperty',
59
                '#jobs => FMMany type: #GLHJob opposite: #pipeline',
60
                '#user => FMOne type: #GLHUser opposite: #launchedPipelines',
61
                '#project => FMOne type: #GLHProject opposite: #pipelines',
62
                '#mergeRequest => FMOne type: #GLHMergeRequest opposite: #pipelines'
63
        ],
64
        #category : #'GitLabHealth-Model-Entities'
65
}
66

67
{ #category : #meta }
68
GLHPipeline class >> annotation [
×
69

×
70
        <FMClass: #Pipeline super: #GLHEntity>
×
71
        <package: #'GitLabHealth-Model'>
×
72
        <generated>
×
73
        ^ self
×
74
]
×
75

76
{ #category : #adding }
77
GLHPipeline >> addJob: anObject [
×
78
        <generated>
×
79
        ^ self jobs add: anObject
×
80
]
×
81

82
{ #category : #accessing }
83
GLHPipeline >> created_at [
1✔
84

1✔
85
        <FMProperty: #created_at type: #Object>
1✔
86
        <generated>
1✔
87
        <FMComment: 'creation date of the pipeline'>
1✔
88
        ^ created_at
1✔
89
]
1✔
90

91
{ #category : #accessing }
92
GLHPipeline >> created_at: anObject [
1✔
93
        <generated>
1✔
94
        created_at := anObject
1✔
95
]
1✔
96

97
{ #category : #accessing }
98
GLHPipeline >> duration [
1✔
99

1✔
100
        <FMProperty: #duration type: #Object>
1✔
101
        <generated>
1✔
102
        <FMComment: 'the running duration of a pipeline'>
1✔
103
        ^ duration
1✔
104
]
1✔
105

106
{ #category : #accessing }
107
GLHPipeline >> duration: anObject [
1✔
108
        <generated>
1✔
109
        duration := anObject
1✔
110
]
1✔
111

112
{ #category : #accessing }
113
GLHPipeline >> finished_at [
1✔
114

1✔
115
        <FMProperty: #finished_at type: #Object>
1✔
116
        <generated>
1✔
117
        <FMComment: 'finish date of the pipeline'>
1✔
118
        ^ finished_at
1✔
119
]
1✔
120

121
{ #category : #accessing }
122
GLHPipeline >> finished_at: anObject [
1✔
123
        <generated>
1✔
124
        finished_at := anObject
1✔
125
]
1✔
126

127
{ #category : #accessing }
128
GLHPipeline >> id [
1✔
129

1✔
130
        <FMProperty: #id type: #String>
1✔
131
        <generated>
1✔
132
        <FMComment: 'The id of the pipeline'>
1✔
133
        ^ id
1✔
134
]
1✔
135

136
{ #category : #accessing }
137
GLHPipeline >> id: anObject [
1✔
138
        <generated>
1✔
139
        id := anObject
1✔
140
]
1✔
141

142
{ #category : #accessing }
143
GLHPipeline >> jobs [
1✔
144
        "Relation named: #jobs type: #GLHJob opposite: #pipeline"
1✔
145

1✔
146
        <generated>
1✔
147
        <derived>
1✔
148
        ^ jobs
1✔
149
]
1✔
150

151
{ #category : #accessing }
152
GLHPipeline >> jobs: anObject [
×
153

×
154
        <generated>
×
155
        jobs value: anObject
×
156
]
×
157

158
{ #category : #navigation }
159
GLHPipeline >> jobsGroup [
×
160
        <generated>
×
161
        <navigation: 'Jobs'>
×
162
        ^ MooseSpecializedGroup withAll: self jobs asSet
×
163
]
×
164

165
{ #category : #accessing }
166
GLHPipeline >> mergeRequest [
1✔
167
        "Relation named: #mergeRequest type: #GLHMergeRequest opposite: #pipelines"
1✔
168

1✔
169
        <generated>
1✔
170
        <container>
1✔
171
        ^ mergeRequest
1✔
172
]
1✔
173

174
{ #category : #accessing }
NEW
175
GLHPipeline >> mergeRequest: anObject [
×
176

×
177
        <generated>
×
NEW
178
        mergeRequest := anObject
×
179
]
×
180

181
{ #category : #navigation }
NEW
182
GLHPipeline >> mergeRequestGroup [
×
183
        <generated>
×
NEW
184
        <navigation: 'MergeRequest'>
×
NEW
185
        ^ MooseSpecializedGroup with: self mergeRequest
×
UNCOV
186
]
×
187

188
{ #category : #accessing }
189
GLHPipeline >> name [
×
190

×
191
        <FMProperty: #name type: #String>
×
192
        <generated>
×
193
        <FMComment: 'name of the pipeline'>
×
194
        ^ name
×
195
]
×
196

197
{ #category : #accessing }
198
GLHPipeline >> name: anObject [
×
199
        <generated>
×
200
        name := anObject
×
201
]
×
202

203
{ #category : #accessing }
204
GLHPipeline >> project [
1✔
205
        "Relation named: #project type: #GLHProject opposite: #pipelines"
1✔
206

1✔
207
        <generated>
1✔
208
        <container>
1✔
209
        ^ project
1✔
210
]
1✔
211

212
{ #category : #accessing }
213
GLHPipeline >> project: anObject [
1✔
214

1✔
215
        <generated>
1✔
216
        project := anObject
1✔
217
]
1✔
218

219
{ #category : #navigation }
220
GLHPipeline >> projectGroup [
×
221
        <generated>
×
222
        <navigation: 'Project'>
×
223
        ^ MooseSpecializedGroup with: self project
×
224
]
×
225

226
{ #category : #accessing }
227
GLHPipeline >> ref [
1✔
228

1✔
229
        <FMProperty: #ref type: #String>
1✔
230
        <generated>
1✔
231
        <FMComment: 'reference its emmited source (merge request or else)'>
1✔
232
        ^ ref
1✔
233
]
1✔
234

235
{ #category : #accessing }
236
GLHPipeline >> ref: anObject [
1✔
237
        <generated>
1✔
238
        ref := anObject
1✔
239
]
1✔
240

241
{ #category : #accessing }
242
GLHPipeline >> runDate [
1✔
243

1✔
244
        <FMProperty: #runDate type: #Object>
1✔
245
        <generated>
1✔
246
        <FMComment: 'Date this pipeline was run'>
1✔
247
        ^ runDate
1✔
248
]
1✔
249

250
{ #category : #accessing }
251
GLHPipeline >> runDate: anObject [
1✔
252
        <generated>
1✔
253
        runDate := anObject
1✔
254
]
1✔
255

256
{ #category : #accessing }
257
GLHPipeline >> sha [
×
258

×
259
        <FMProperty: #sha type: #String>
×
260
        <generated>
×
261
        <FMComment: 'sha of its emmited source'>
×
262
        ^ sha
×
263
]
×
264

265
{ #category : #accessing }
266
GLHPipeline >> sha: anObject [
×
267
        <generated>
×
268
        sha := anObject
×
269
]
×
270

271
{ #category : #accessing }
272
GLHPipeline >> sourceEvent [
×
273

×
274
        <FMProperty: #sourceEvent type: #String>
×
275
        <generated>
×
276
        <FMComment: 'triggering event from where the pipeline originate, such as #push #fork, etc.'>
×
277
        ^ sourceEvent
×
278
]
×
279

280
{ #category : #accessing }
281
GLHPipeline >> sourceEvent: anObject [
1✔
282
        <generated>
1✔
283
        sourceEvent := anObject
1✔
284
]
1✔
285

286
{ #category : #accessing }
287
GLHPipeline >> started_at [
1✔
288

1✔
289
        <FMProperty: #started_at type: #Object>
1✔
290
        <generated>
1✔
291
        <FMComment: 'start date of the pipeline'>
1✔
292
        ^ started_at
1✔
293
]
1✔
294

295
{ #category : #accessing }
296
GLHPipeline >> started_at: anObject [
1✔
297
        <generated>
1✔
298
        started_at := anObject
1✔
299
]
1✔
300

301
{ #category : #accessing }
302
GLHPipeline >> status [
1✔
303

1✔
304
        <FMProperty: #status type: #String>
1✔
305
        <generated>
1✔
306
        <FMComment: '#success or #failure'>
1✔
307
        ^ status
1✔
308
]
1✔
309

310
{ #category : #accessing }
311
GLHPipeline >> status: anObject [
1✔
312
        <generated>
1✔
313
        status := anObject
1✔
314
]
1✔
315

316
{ #category : #accessing }
317
GLHPipeline >> updated_at [
1✔
318

1✔
319
        <FMProperty: #updated_at type: #Object>
1✔
320
        <generated>
1✔
321
        <FMComment: 'update date of the pipeline'>
1✔
322
        ^ updated_at
1✔
323
]
1✔
324

325
{ #category : #accessing }
326
GLHPipeline >> updated_at: anObject [
1✔
327
        <generated>
1✔
328
        updated_at := anObject
1✔
329
]
1✔
330

331
{ #category : #accessing }
332
GLHPipeline >> user [
×
333
        "Relation named: #user type: #GLHUser opposite: #launchedPipelines"
×
334

×
335
        <generated>
×
336
        ^ user
×
337
]
×
338

339
{ #category : #accessing }
340
GLHPipeline >> user: anObject [
1✔
341

1✔
342
        <generated>
1✔
343
        user := anObject
1✔
344
]
1✔
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