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

moosetechnology / GitProjectHealth / 15685699682

16 Jun 2025 03:55PM UTC coverage: 74.453% (+1.2%) from 73.222%
15685699682

push

github

web-flow
Merge pull request #202 from moosetechnology/develop

Update Main

1293 of 2646 new or added lines in 26 files covered. (48.87%)

62 existing lines in 3 files now uncovered.

17142 of 23024 relevant lines covered (74.45%)

0.74 hits per line

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

8.78
/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
### 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
                '#project => FMOne type: #GLHProject opposite: #pipelines',
60
                '#jobs => FMMany type: #GLHJob opposite: #pipeline',
61
                '#user => FMOne type: #GLHUser opposite: #launchedPipelines',
62
                '#mergeResquest => 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 }
NEW
83
GLHPipeline >> created_at [
×
NEW
84

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

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

97
{ #category : #accessing }
NEW
98
GLHPipeline >> duration [
×
NEW
99

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

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

112
{ #category : #accessing }
NEW
113
GLHPipeline >> finished_at [
×
NEW
114

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

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

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

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

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

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

×
146
        <generated>
×
147
        <derived>
×
148
        ^ jobs
×
149
]
×
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 >> mergeResquest [
×
NEW
167
        "Relation named: #mergeResquest type: #GLHMergeRequest opposite: #pipelines"
×
168

×
169
        <generated>
×
NEW
170
        <container>
×
171
        ^ mergeResquest
×
172
]
×
173

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

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

181
{ #category : #navigation }
NEW
182
GLHPipeline >> mergeResquestGroup [
×
NEW
183
        <generated>
×
NEW
184
        <navigation: 'MergeResquest'>
×
NEW
185
        ^ MooseSpecializedGroup with: self mergeResquest
×
NEW
186
]
×
187

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

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

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

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

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

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

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

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

226
{ #category : #accessing }
NEW
227
GLHPipeline >> ref [
×
NEW
228

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

235
{ #category : #accessing }
NEW
236
GLHPipeline >> ref: anObject [
×
NEW
237
        <generated>
×
NEW
238
        ref := anObject
×
NEW
239
]
×
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 }
NEW
257
GLHPipeline >> sha [
×
NEW
258

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

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

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

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

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

286
{ #category : #accessing }
NEW
287
GLHPipeline >> started_at [
×
NEW
288

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

295
{ #category : #accessing }
NEW
296
GLHPipeline >> started_at: anObject [
×
NEW
297
        <generated>
×
NEW
298
        started_at := anObject
×
NEW
299
]
×
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 [
×
312
        <generated>
×
313
        status := anObject
×
314
]
×
315

316
{ #category : #accessing }
NEW
317
GLHPipeline >> updated_at [
×
NEW
318

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

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

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

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

339
{ #category : #accessing }
NEW
340
GLHPipeline >> user: anObject [
×
NEW
341

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