Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
a5b9b577
Unverified
Commit
a5b9b577
authored
Jul 20, 2021
by
keyonghan
Committed by
GitHub
Jul 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the tree (#86691)
* fix type cast error * update doc
parent
cabcfd54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
upload_results.dart
dev/devicelab/lib/command/upload_results.dart
+3
-3
No files found.
dev/devicelab/lib/command/upload_results.dart
View file @
a5b9b577
...
...
@@ -13,7 +13,7 @@ class UploadResultsCommand extends Command<void> {
'service-account-token-file'
,
help:
'Authentication token for uploading results.'
,
);
argParser
.
addOption
(
'test-flaky'
,
help:
'Flag to show whether the test is flaky'
);
argParser
.
addOption
(
'test-flaky'
,
help:
'Flag to show whether the test is flaky
: "True" or "False"
'
);
argParser
.
addOption
(
'git-branch'
,
help:
'[Flutter infrastructure] Git branch of the current commit. LUCI
\n
'
...
...
@@ -33,7 +33,7 @@ class UploadResultsCommand extends Command<void> {
Future
<
void
>
run
()
async
{
final
String
?
resultsPath
=
argResults
![
'results-file'
]
as
String
?;
final
String
?
serviceAccountTokenFile
=
argResults
![
'service-account-token-file'
]
as
String
?;
final
bool
?
isTestFlaky
=
argResults
![
'test-flaky'
]
as
bool
?;
final
String
?
testFlakyStatus
=
argResults
![
'test-flaky'
]
as
String
?;
final
String
?
gitBranch
=
argResults
![
'git-branch'
]
as
String
?;
final
String
?
builderName
=
argResults
![
'luci-builder'
]
as
String
?;
final
String
?
testStatus
=
argResults
![
'test-status'
]
as
String
?;
...
...
@@ -41,7 +41,7 @@ class UploadResultsCommand extends Command<void> {
final
Cocoon
cocoon
=
Cocoon
(
serviceAccountTokenPath:
serviceAccountTokenFile
);
return
cocoon
.
sendResultsPath
(
resultsPath:
resultsPath
,
isTestFlaky:
isTestFlaky
,
isTestFlaky:
testFlakyStatus
==
'True'
,
gitBranch:
gitBranch
,
builderName:
builderName
,
testStatus:
testStatus
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment