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

moosetechnology / GitProjectHealth / 11496882612

24 Oct 2024 09:51AM UTC coverage: 58.319% (-0.6%) from 58.906%
11496882612

push

github

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

Develop

1334 of 2585 new or added lines in 64 files covered. (51.61%)

21 existing lines in 6 files now uncovered.

9446 of 16197 relevant lines covered (58.32%)

0.58 hits per line

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

20.0
/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
| `project` | `GLHPipeline` | `pipelines` | `GLHProject` | |
11

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

17
### Other
18
| Relation | Origin | Opposite | Type | Comment |
19
|---|
20
| `mergeResquest` | `GLHPipeline` | `pipeline` | `GLHMergeRequest` | |
21

22

23
## Properties
24
======================
25

26
| Name | Type | Default value | Comment |
27
|---|
28
| `id` | `String` | nil | The id of the pipeline|
29
| `runDate` | `Object` | nil | Date this pipeline was run|
30
| `status` | `String` | nil | #success or #failure|
31

32
"
33
Class {
34
        #name : 'GLHPipeline',
35
        #superclass : 'GLHEntity',
36
        #instVars : [
37
                '#id => FMProperty',
38
                '#jobs => FMMany type: #GLHJob opposite: #pipeline',
39
                '#mergeResquest => FMOne type: #GLHMergeRequest opposite: #pipeline',
40
                '#project => FMOne type: #GLHProject opposite: #pipelines',
41
                '#runDate => FMProperty',
42
                '#status => FMProperty'
43
        ],
44
        #category : 'GitLabHealth-Model-Entities',
45
        #package : 'GitLabHealth-Model',
46
        #tag : 'Entities'
47
}
48

49
{ #category : 'meta' }
50
GLHPipeline class >> annotation [
×
51

×
52
        <FMClass: #Pipeline super: #GLHEntity>
×
53
        <package: #'GitLabHealth-Model'>
×
54
        <generated>
×
55
        ^ self
×
56
]
×
57

58
{ #category : 'adding' }
59
GLHPipeline >> addJob: anObject [
×
60
        <generated>
×
61
        ^ self jobs add: anObject
×
62
]
×
63

64
{ #category : 'accessing' }
65
GLHPipeline >> id [
×
66

×
67
        <FMProperty: #id type: #String>
×
68
        <generated>
×
69
        <FMComment: 'The id of the pipeline'>
×
70
        ^ id
×
71
]
×
72

73
{ #category : 'accessing' }
74
GLHPipeline >> id: anObject [
×
75
        <generated>
×
76
        id := anObject
×
77
]
×
78

79
{ #category : 'accessing' }
80
GLHPipeline >> jobs [
×
81
        "Relation named: #jobs type: #GLHJob opposite: #pipeline"
×
82

×
83
        <generated>
×
84
        <derived>
×
85
        ^ jobs
×
86
]
×
87

88
{ #category : 'accessing' }
89
GLHPipeline >> jobs: anObject [
×
90

×
91
        <generated>
×
92
        jobs value: anObject
×
93
]
×
94

95
{ #category : 'navigation' }
96
GLHPipeline >> jobsGroup [
×
97
        <generated>
×
98
        <navigation: 'Jobs'>
×
99
        ^ MooseSpecializedGroup withAll: self jobs asSet
×
100
]
×
101

102
{ #category : 'accessing' }
NEW
103
GLHPipeline >> mergeResquest [
×
NEW
104
        "Relation named: #mergeResquest type: #GLHMergeRequest opposite: #pipeline"
×
NEW
105

×
NEW
106
        <generated>
×
NEW
107
        <derived>
×
NEW
108
        ^ mergeResquest
×
NEW
109
]
×
110

111
{ #category : 'accessing' }
NEW
112
GLHPipeline >> mergeResquest: anObject [
×
NEW
113

×
NEW
114
        <generated>
×
NEW
115
        mergeResquest := anObject
×
NEW
116
]
×
117

118
{ #category : 'accessing' }
119
GLHPipeline >> project [
×
120
        "Relation named: #project type: #GLHProject opposite: #pipelines"
×
121

×
122
        <generated>
×
123
        <container>
×
124
        ^ project
×
125
]
×
126

127
{ #category : 'accessing' }
128
GLHPipeline >> project: anObject [
×
129

×
130
        <generated>
×
131
        project := anObject
×
132
]
×
133

134
{ #category : 'navigation' }
135
GLHPipeline >> projectGroup [
×
136
        <generated>
×
137
        <navigation: 'Project'>
×
138
        ^ MooseSpecializedGroup with: self project
×
139
]
×
140

141
{ #category : 'accessing' }
142
GLHPipeline >> runDate [
1✔
143

1✔
144
        <FMProperty: #runDate type: #Object>
1✔
145
        <generated>
1✔
146
        <FMComment: 'Date this pipeline was run'>
1✔
147
        ^ runDate
1✔
148
]
1✔
149

150
{ #category : 'accessing' }
151
GLHPipeline >> runDate: anObject [
1✔
152
        <generated>
1✔
153
        runDate := anObject
1✔
154
]
1✔
155

156
{ #category : 'accessing' }
157
GLHPipeline >> status [
1✔
158

1✔
159
        <FMProperty: #status type: #String>
1✔
160
        <generated>
1✔
161
        <FMComment: '#success or #failure'>
1✔
162
        ^ status
1✔
163
]
1✔
164

165
{ #category : 'accessing' }
166
GLHPipeline >> status: anObject [
×
167
        <generated>
×
168
        status := anObject
×
169
]
×
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