bellows 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/VERSION +1 -1
- data/lib/bellows/http.rb +1 -1
- data/lib/bellows/tasks.rb +9 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
* Mon Aug 19 2013 Dan Prince <dprince@redhat.com> - 2.0.3
|
2
|
+
- Fix issue encoding the '%' character in smokestack POST requests.
|
3
|
+
- Comment a 'Failed' result for build and test failures.
|
4
|
+
|
1
5
|
* Mon Aug 19 2013 Dan Prince <dprince@redhat.com> - 2.0.2
|
2
6
|
- Add support for new SS status types ('BuildFail', 'TestFail', etc.)
|
3
7
|
- Add support for automatic test failure approval.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.3
|
data/lib/bellows/http.rb
CHANGED
data/lib/bellows/tasks.rb
CHANGED
@@ -167,7 +167,15 @@ module Bellows
|
|
167
167
|
job_datas.each do |arr|
|
168
168
|
comment_config = arr[0]
|
169
169
|
job_data = arr[1]
|
170
|
-
|
170
|
+
status = 'UNKNOWN'
|
171
|
+
if job_data['status'] == 'Success' then
|
172
|
+
status = 'SUCCESS'
|
173
|
+
elsif ['Failed', 'BuildFail', 'TestFail'].include?(job_data['status']) then
|
174
|
+
status = 'FAILED'
|
175
|
+
end
|
176
|
+
|
177
|
+
message += "- #{comment_config['description']} #{configs['smokestack_url']}/?go=/jobs/#{job_data['id']} : #{status} #{job_data['msg']}\n"
|
178
|
+
|
171
179
|
verify_vote = -1 if job_data['status'] == 'Failed'
|
172
180
|
end
|
173
181
|
puts message if not options[:quiet]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bellows
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -173,7 +173,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
173
173
|
version: '0'
|
174
174
|
segments:
|
175
175
|
- 0
|
176
|
-
hash: -
|
176
|
+
hash: -2379210457275294056
|
177
177
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
178
|
none: false
|
179
179
|
requirements:
|