bard 0.19.1 → 0.19.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/bard.rb +2 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.19.
|
1
|
+
0.19.2
|
data/lib/bard.rb
CHANGED
@@ -183,7 +183,8 @@ EOF
|
|
183
183
|
|
184
184
|
def get_last_build_number
|
185
185
|
response = `curl -s #{ci_host}/lastBuild/api/xml?token=botandrose`
|
186
|
-
response.match(/<number>(\d+)<\/number>/)
|
186
|
+
response.match(/<number>(\d+)<\/number>/)
|
187
|
+
$1 ? $1.to_i : nil
|
187
188
|
end
|
188
189
|
|
189
190
|
def get_last_time_elapsed
|