quintocumber 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/plugins/publish_reports.rb +3 -1
- data/lib/quintocumber/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7a99831da6cafebbe23877e882238bdedaf9f6a
|
4
|
+
data.tar.gz: e38e96f6e936bfbe1d0466323b88fc3803688214
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11153243c9df50c92a18746a4f1b23c4c37de9b593e22a55572755a93bd107e7e2c0e21a859edde7d11d58e8141ca31630e90d4b8f7ca7f8ea0b5825fcb9c7af
|
7
|
+
data.tar.gz: 6b5569fc541ba2f1ab8df52a1c1add02fe8ed27472930302ca59ec5cc7df981877b8fe55b4b016ba93575cd2e18b8643ba92ce407e29ab1ee2dd8dc32af1e2ac
|
@@ -16,6 +16,7 @@ at_exit do
|
|
16
16
|
bucket_region = ENV['REPORT_BUCKET_REGION'] || 'us-east-1'
|
17
17
|
report_url = nil
|
18
18
|
if bucket && system('allure --help >> /dev/null')
|
19
|
+
puts "Generating allure report and uploading to s3"
|
19
20
|
system('allure generate --clean reports')
|
20
21
|
Dir[File.join(Dir.pwd, "allure-report/**/*")].each do |file|
|
21
22
|
if not File.directory?(file)
|
@@ -29,7 +30,8 @@ at_exit do
|
|
29
30
|
end
|
30
31
|
report_url = "http://#{bucket}.s3-website-#{bucket_region}.amazonaws.com/#{URI.escape(BUILD)}"
|
31
32
|
end
|
32
|
-
if ENV['PAGERDUTY_ROUTING_KEY'] && PUBLISH_REPORTS_TESTS_FAILED.length
|
33
|
+
if ENV['PAGERDUTY_ROUTING_KEY'] && PUBLISH_REPORTS_TESTS_FAILED.length > 0
|
34
|
+
puts "Sending test failed alert to PagerDuty"
|
33
35
|
payload = {
|
34
36
|
:payload => {
|
35
37
|
:summary => "#{PUBLISH_REPORTS_TESTS_FAILED.length} #{PROJECT_NAME} test(s) failed",
|
data/lib/quintocumber/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quintocumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Diego Queiroz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|