fastlane/lib/fastlane/actions/slather.rb in fastlane-2.148.1 vs fastlane/lib/fastlane/actions/slather.rb in fastlane-2.149.0
- old
+ new
@@ -1,9 +1,9 @@
module Fastlane
module Actions
class SlatherAction < Action
- # https://github.com/SlatherOrg/slather/blob/v2.4.2/lib/slather/command/coverage_command.rb
+ # https://github.com/SlatherOrg/slather/blob/v2.4.9/lib/slather/command/coverage_command.rb
ARGS_MAP = {
travis: '--travis',
travis_pro: '--travispro',
circleci: '--circleci',
jenkins: '--jenkins',
@@ -12,10 +12,11 @@
coveralls: '--coveralls',
simple_output: '--simple-output',
gutter_json: '--gutter-json',
cobertura_xml: '--cobertura-xml',
+ sonarqube_xml: '--sonarqube-xml',
llvm_cov: '--llvm-cov',
html: '--html',
show: '--show',
build_directory: '--build-directory',
@@ -208,9 +209,15 @@
type: Boolean,
optional: true),
FastlaneCore::ConfigItem.new(key: :cobertura_xml,
env_name: "FL_SLATHER_COBERTURA_XML_ENABLED",
description: "Tell slather that it should output results as Cobertura XML format",
+ is_string: false,
+ type: Boolean,
+ optional: true),
+ FastlaneCore::ConfigItem.new(key: :sonarqube_xml,
+ env_name: "FL_SLATHER_SONARQUBE_XML_ENABLED",
+ description: "Tell slather that it should output results as SonarQube Generic XML format",
is_string: false,
type: Boolean,
optional: true),
FastlaneCore::ConfigItem.new(key: :llvm_cov,
env_name: "FL_SLATHER_LLVM_COV_ENABLED",