bitbar_gitlab 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfc03a619e081054c4f005436a62b67fafda3d00
|
4
|
+
data.tar.gz: 8508c6dd092282087c058453264e4eef48f0403f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6a73b440082a368c554046b574008bf60f855692b7f7d1d4bc3917108bb0378e8cfb90d77a2db8461ce8233675f43bb6ae184b6335d363ca44b4a796c899b1a
|
7
|
+
data.tar.gz: 45ca5e74721096d61e83b6bf507a00862b7f94a4f2dc925e4d3bc48027d0ada46cbfe073d8194fc51c48c2929e3fc36b5710a227c002a17e9405468c6b30b331
|
@@ -119,11 +119,14 @@ def pipeline_menu pr, level, in_focus = false
|
|
119
119
|
project_info = $gitlab.project(pr.to_hash['id'].to_s)
|
120
120
|
return unless project_info.to_hash['jobs_enabled']
|
121
121
|
|
122
|
+
labels = ['id','status','web_url']
|
122
123
|
data = []
|
123
124
|
|
124
|
-
|
125
125
|
$gitlab.pipelines(pr.to_hash['id'].to_s,{per_page:3, page:1, state: 'running'}).collect do |iss|
|
126
126
|
d = []
|
127
|
+
labels.each do |l|
|
128
|
+
d << iss.to_hash[l].to_s
|
129
|
+
end
|
127
130
|
data << d
|
128
131
|
end
|
129
132
|
|