korinthenkacker 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/korinthenkacker.gemspec +1 -1
- data/lib/korinthenkacker/cli.rb +8 -0
- data/lib/korinthenkacker/reporters/simple.rb +2 -2
- data/lib/korinthenkacker/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f2a98ed1dfe787edbff10e03b6c763187351eaa
|
4
|
+
data.tar.gz: 80c2b51f04f690c9fb5f0152a80a9715dac65659
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1bb3b9b844e874bfcad7bb61cf0b810515b98d36a2956020c2e631a1ca4ed588b8bb887b09783798f67d6e1c28909521218000a78db14ab65505b43701a5d82
|
7
|
+
data.tar.gz: 8012265c7cc5ae8bd203c116f6e2e005f345b4f5d44461db35353f6fb44df39ac75dea3173da0b2c300b40b60a29aa024bc73757f6a8b3761eff34d7b6c2a264
|
data/korinthenkacker.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'korinthenkacker/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'korinthenkacker'
|
8
8
|
spec.version = Korinthenkacker::VERSION
|
9
|
-
spec.authors = ['Vincent Garrigues']
|
9
|
+
spec.authors = ['Vincent Garrigues, Dennis Schmidt']
|
10
10
|
spec.email = ['vincent@soundcloud.com']
|
11
11
|
spec.summary = %q{Seriously Jenkins?}
|
12
12
|
spec.description = %q{Find out what the fuck is going on with those tests}
|
data/lib/korinthenkacker/cli.rb
CHANGED
@@ -54,6 +54,14 @@ module Korinthenkacker
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
desc 'verify [JOBS...]', 'exit with 0 if all recent jobs green, exit with 1 if any recent job red'
|
58
|
+
def verify(*jobs)
|
59
|
+
jobs.each do |job|
|
60
|
+
reports = test_reports(job, 1)
|
61
|
+
exit(1) if reports.empty? || !reports.first.success?
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
57
65
|
private
|
58
66
|
|
59
67
|
def failed_cases_for(jobname, build=nil)
|
@@ -6,9 +6,9 @@ module Korinthenkacker
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def print_builds_report(reports)
|
9
|
-
reports.map
|
9
|
+
puts reports.map { |report|
|
10
10
|
"#{report.build}\t#{report.success?}\t#{report.duration}"
|
11
|
-
|
11
|
+
}.join("\n")
|
12
12
|
end
|
13
13
|
|
14
14
|
def print_scenario_reports(test_cases)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: korinthenkacker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Vincent Garrigues
|
7
|
+
- Vincent Garrigues, Dennis Schmidt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.4.8
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Seriously Jenkins?
|