fastlane-plugin-test_center 1.1.1 → 1.2.0

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: 955dd4a0e11a6df53e2e331261e75449c6a98b66
4
- data.tar.gz: 17cb30b15ae142a3bff45993587fbb99c89a407e
3
+ metadata.gz: 7c46c83ee933f5f236e9b6b2d6b75c0b7f9f3bc2
4
+ data.tar.gz: c86c033bcc93a1eb6d83a86029fae1a4ba0d660d
5
5
  SHA512:
6
- metadata.gz: 87e7045522c6c02df2f3f56547443d1721aede96cb8b4892b67bd36b6695b5fb9343aa79a8eab193bc3123a5ce2b84b3202e1a0486c540a5e34fa5c29b74bce3
7
- data.tar.gz: 4ac55baa649472aa34287540d367043a4e91f095ab6b312ded438c749a948b3b3a37d93896845be810f7114d7b7116b9a2c00274337defce90c98f3f0d14ee2b
6
+ metadata.gz: 4b2f5a8ce473ed081db5edda0969e9df423f153876152d865f8955b9486d32cbc4f99899ebb80cdf3ed86656fe45dafc40f780e46aff5c8348d573f223949701
7
+ data.tar.gz: 28598d3337505c1fc033ac6da1cc5fe086f09bf4f1ef4f744087473b2260aad10f3300dec80f756af2ef6e84f0492b8ab7fc810df3a4bafd8969784ca35fb55f
@@ -21,10 +21,12 @@ module Fastlane
21
21
  Fastlane::Actions::ScanAction.run(config)
22
22
  rescue FastlaneCore::Interface::FastlaneTestFailure => e
23
23
  UI.verbose("Scan failed with #{e}")
24
+ if try_count < params[:try_count]
24
25
  report_filepath = junit_report_filepath(scan_options)
25
26
  scan_options[:only_testing] = other_action.tests_from_junit(junit: report_filepath)[:failed]
26
27
  increment_junit_report_filename(scan_options)
27
- retry if try_count < params[:try_count]
28
+ retry
29
+ end
28
30
  end
29
31
  end
30
32
 
@@ -70,7 +72,7 @@ module Fastlane
70
72
  end
71
73
 
72
74
  def self.junit_report_filepath(config)
73
- File.join(config[:output_directory], junit_report_filename(config))
75
+ File.absolute_path(File.join(config[:output_directory], junit_report_filename(config)))
74
76
  end
75
77
 
76
78
  def self.increment_junit_report_filename(config)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TestCenter
3
- VERSION = "1.1.1"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-test_center
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lyndsey Ferguson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-20 00:00:00.000000000 Z
11
+ date: 2017-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler