fastlane-plugin-dynatrace 0.1.0 → 0.1.1
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/README.md +36 -36
- data/lib/fastlane/plugin/dynatrace/actions/dynatrace_action.rb +8 -8
- data/lib/fastlane/plugin/dynatrace/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 111c3620ad1fdd22417ac123098721cb64338809a8f76eb9d5f03e2188c1c9ae
|
4
|
+
data.tar.gz: c0f908881e52c58785820c784b2a888cd576b791dc12a66e90c2f6c773df940d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b70c112166ad27b2b338543bf908997481338654cee92913b11325d91679a82967a02aa27f11796e9dcbbd32ca5734f28ab4adb79a6b1812d52755783c9fa9fa
|
7
|
+
data.tar.gz: cab1e7f8593a7dce72e0f9dd92a86299bea83ce9e9c0211dbe64a8a9b2ed8821ff7f1cbe0eb14d05946dee4f164856b7fc27b2c46f33bec9f781bf3fc6b43a4a
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ fastlane add_plugin dynatrace
|
|
14
14
|
|
15
15
|
This plugin allows you to decode and upload symbolication files to Dynatrace. You can also use it to first download your latest dSym files from AppStore Connect if you use Bitcode.
|
16
16
|
|
17
|
-
Action: `
|
17
|
+
## Action: `dynatrace_process_symbols`
|
18
18
|
|
19
19
|
| Supported Platforms | ios, android |
|
20
20
|
|---------------------|--------------|
|
@@ -51,18 +51,18 @@ In your *fastfile*
|
|
51
51
|
### Supplying all parameters locally
|
52
52
|
|
53
53
|
```ruby
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
54
|
+
dynatrace_process_symbols(
|
55
|
+
dtxDssClientPath:"<path>/DTXDssClient",
|
56
|
+
appId: "your DT appID",
|
57
|
+
apitoken: "your DT API token",
|
58
|
+
os: "<ios> or <android>",
|
59
|
+
bundleId: "com.yourcompany.yourApp",
|
60
|
+
bundleName: "MyApp",
|
61
|
+
versionStr: "1.0",
|
62
|
+
version: "1",
|
63
|
+
symbolsfile: "<path to my app>.app.dSYM",
|
64
|
+
server: "https://<environmentID.live.dynatrace.com",
|
65
|
+
debugMode: true)
|
66
66
|
|
67
67
|
```
|
68
68
|
|
@@ -78,17 +78,17 @@ apple_id("user@email.com") # Your Apple email address
|
|
78
78
|
#### Fastfile
|
79
79
|
|
80
80
|
```ruby
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
81
|
+
dynatrace_process_symbols(
|
82
|
+
downloadDsyms: true,
|
83
|
+
dtxDssClientPath:"<path>/DTXDssClient",
|
84
|
+
appId: "your DT appID",
|
85
|
+
apitoken: "your DT API token",
|
86
|
+
os: "<ios> or <android>",
|
87
|
+
bundleName: "MyApp",
|
88
|
+
versionStr: "1.0",
|
89
|
+
version: "1",
|
90
|
+
server: "https://<environmentID.live.dynatrace.com",
|
91
|
+
debugMode: true)
|
92
92
|
|
93
93
|
```
|
94
94
|
|
@@ -104,18 +104,18 @@ apple_id("user@email.com") # Your Apple email address
|
|
104
104
|
#### Fastfile
|
105
105
|
|
106
106
|
```ruby
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
107
|
+
dynatrace_process_symbols(
|
108
|
+
action = "decode",
|
109
|
+
downloadDsyms: true,
|
110
|
+
dtxDssClientPath:"<path>/DTXDssClient",
|
111
|
+
appId: "your DT appID",
|
112
|
+
apitoken: "your DT API token",
|
113
|
+
os: "<ios> or <android>",
|
114
|
+
bundleName: "MyApp",
|
115
|
+
versionStr: "1.0",
|
116
|
+
version: "1",
|
117
|
+
server: "https://dynatrace-managed.com/e/environmentID",
|
118
|
+
debugMode: true)
|
119
119
|
|
120
120
|
```
|
121
121
|
|
@@ -15,14 +15,6 @@ module Fastlane
|
|
15
15
|
UI.message "Version: #{params[:version]}"
|
16
16
|
UI.message "Server URL: #{params[:server]}"
|
17
17
|
|
18
|
-
UI.message("Checking AppFile for possible username/AppleID")
|
19
|
-
username = CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
|
20
|
-
UI.message("Using #{username} from your AppFile")
|
21
|
-
|
22
|
-
if !(username)
|
23
|
-
UI.message "Username: #{params[:username]}"
|
24
|
-
end
|
25
|
-
|
26
18
|
UI.message("Checking AppFile for possible AppID")
|
27
19
|
bundleId = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
|
28
20
|
UI.message("Using #{bundleId} from your AppFile")
|
@@ -43,6 +35,14 @@ module Fastlane
|
|
43
35
|
end
|
44
36
|
|
45
37
|
if (params[:downloadDsyms] == true)
|
38
|
+
UI.message("Checking AppFile for possible username/AppleID")
|
39
|
+
username = CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
|
40
|
+
UI.message("Using #{username} from your AppFile")
|
41
|
+
|
42
|
+
if !(username)
|
43
|
+
UI.message "Username: #{params[:username]}"
|
44
|
+
end
|
45
|
+
|
46
46
|
UI.message("Downloading Dsyms from AppStore Connect")
|
47
47
|
Fastlane::Actions::DownloadDsymsAction.run(app_identifier: bundleId,
|
48
48
|
username: username,
|
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: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mohamed Nassar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|