allure-report-publisher 4.7.1 → 4.7.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0bb8e40a07b6be84137b396ca54ecbf9a2ed982686e7c547440d05f92fafb4f9
4
- data.tar.gz: 94ad353721fb09c4466d6d6ff185ac6179e4ce27407859edfa3f56fa49687f2d
3
+ metadata.gz: 3a9194381dcb70e7baa4e84f45701be5a52f2092e9247b082a8728ddc1a7e50e
4
+ data.tar.gz: 5831373722f1cc7fba6c15a7c560a6dbe14813c484e654ccbe8b6608997437f4
5
5
  SHA512:
6
- metadata.gz: d8557b6da70706bd0a08981ab50f8e2c3b4b6eea863d2d9fe9001d2d48c4ffbb961c451017fabe5bfaac5100ee1aff9ca9addc9e7704b867daff797968380a02
7
- data.tar.gz: 86c8500a73d8d4511088751c79976d2ff3cb19020f4ad64c8feadff9e4026c34c38ecf33c9acc666736081300e8515ce0958745754d966f71ab40073525fd28d
6
+ metadata.gz: 0ae5230e086cfd5567bc08f40b6e08ddaabf0311303c8e9d8f96482f35aff969ad0e16107eb42aa59ec2ce507cad7be22c9f9080a46ee2b72a7744f3dde9fd95
7
+ data.tar.gz: f58585e71f8f4277052dbf058ef22ee82c554bccb85f15c9d21157914fcee568f65a63eda029c41487f5d065ee277c0e8b41855b45249bc3eab4f1e1c8cd27d6
@@ -118,7 +118,7 @@ module Publisher
118
118
  # @return [String] output path
119
119
  def output
120
120
  @output ||= args[:output].then do |path|
121
- next if path
121
+ next path if path && !path.empty?
122
122
 
123
123
  gitlab_artifacts? ? "allure-report" : File.join(Dir.tmpdir, "allure-report-#{Time.now.to_i}")
124
124
  end
@@ -60,7 +60,7 @@ module Publisher
60
60
  )
61
61
  end
62
62
  rescue StandardError => e
63
- log("Failed to download allure history: #{e.message}", :yellow)
63
+ raise(HistoryNotFoundError, e.message)
64
64
  end
65
65
 
66
66
  # Last job from previous pipeline
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Publisher
4
- VERSION = "4.7.1"
4
+ VERSION = "4.7.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allure-report-publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.1
4
+ version: 4.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrejs Cunskis