fastlane-plugin-dynatrace 2.1.0 → 2.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd58713386b9a6a5a8ad4dd9f0a318a37ced9f0fb225a62a86e4a7d29c7cde44
|
4
|
+
data.tar.gz: ee6d0b1ab37f394cd8f4fb89a607ca9c0c0c3440cd7c42418c03b0a4889521f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b2e6def8624592e40be977f4535e27329308f3d3bbff9e7b873df88dae25cae2c338fd4f9061a46a84f6ce109ee324d66a6e56fd0a8b470786bc471bffc6ea2
|
7
|
+
data.tar.gz: 78e868e68594c991aee179c55c4644c97fb970cc205ef96952503954c9e54a52f18a3c3d5fea61a210ca52da3b34b2dbd9a536f3f6270de9153fceaecc347762
|
@@ -12,7 +12,7 @@ module Fastlane
|
|
12
12
|
class DynatraceProcessSymbolsAction < Action
|
13
13
|
|
14
14
|
def self.run(params)
|
15
|
-
UI.message "Parameter API Token: #{params[:apitoken]}"
|
15
|
+
UI.message "Parameter API Token: #{params[:apitoken]}" if params[:debugMode] == true
|
16
16
|
UI.message "OS: #{params[:os]}"
|
17
17
|
UI.message "Version string: #{params[:versionStr]}"
|
18
18
|
UI.message "Version: #{params[:version]}"
|
@@ -87,7 +87,6 @@ module Fastlane
|
|
87
87
|
command << "#{dtxDssClientPath}"
|
88
88
|
command << "-#{params[:action]}" #"-upload"
|
89
89
|
command << "appid=\"#{params[:appId]}\""
|
90
|
-
command << "apitoken=\"#{params[:apitoken]}\""
|
91
90
|
command << "os=#{params[:os]}"
|
92
91
|
command << "bundleId=\"#{bundleId}\""
|
93
92
|
command << "versionStr=\"#{params[:versionStr]}\""
|
@@ -98,12 +97,17 @@ module Fastlane
|
|
98
97
|
command << "forced=1" # if the file already exists
|
99
98
|
command << "tempdir=\"#{params[:tempdir]}\"" if params[:tempdir]
|
100
99
|
|
100
|
+
print_command = command
|
101
|
+
|
102
|
+
command << "apitoken=\"#{params[:apitoken]}\""
|
103
|
+
print_command << "apitoken=\"#{params[:apitoken]}\"" if params[:debugMode] == true
|
104
|
+
|
101
105
|
# Create the full shell command to trigger the DTXDssClient
|
102
106
|
shell_command = command.join(' ')
|
103
107
|
|
104
|
-
UI.message "#{
|
108
|
+
UI.message "#{print_command}"
|
105
109
|
|
106
|
-
sh("#{shell_command}", error_callback: ->(result) {
|
110
|
+
Fastlane::Actions.sh("#{shell_command}", log: params[:debugMode] == true, error_callback: ->(result) {
|
107
111
|
# ShAction doesn't return any reference to the return value -> parse it from the output
|
108
112
|
result_groups = result.match /(?:ERROR: Execution failed, rc=)(-?\d*)(?:\sreason=)(.*)/
|
109
113
|
if result_groups and result_groups.length() >= 2
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-dynatrace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dynatrace LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -266,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
266
|
- !ruby/object:Gem::Version
|
267
267
|
version: '0'
|
268
268
|
requirements: []
|
269
|
-
rubygems_version: 3.4
|
269
|
+
rubygems_version: 3.5.4
|
270
270
|
signing_key:
|
271
271
|
specification_version: 4
|
272
272
|
summary: This action processes and uploads your symbol files to Dynatrace
|