aloisdeniel / vsts-flutter-tasks

Flutter build tasks for Azure DevOps Pipelines/TFS.
https://marketplace.visualstudio.com/items?itemName=aloisdeniel.flutter
107 stars 83 forks source link

Is there a way to turn on verbose logging for the Flutter Build task? #69

Open dpaquette opened 3 years ago

dpaquette commented 3 years ago

I am getting the following error in the build log and it does not provide enough information to diagnose the problem.

Gradle build failed to produce an .apk file. It's likely that this file was generated under /Users/runner/work/1/s/build, but the tool couldn't find it.
##[error]Error: The process '/Users/runner/hostedtoolcache/Flutter/1.22.4-stable/macos/flutter/bin/flutter' failed with exit code 1

Is there an option to pass the --verbose flag to flutter build?

Max-Might commented 3 years ago

It looks like the error comes from the android build system so this is not directly related to the plugin. Can you post the full build log?

dpaquette commented 3 years ago

I figured out the problem, it was a missing flavor parameter but the build logs didn't provide any information to help diagnose that. My question is if there is a way to enable verbose logging for the flutter build task

Max-Might commented 3 years ago

I think there is no such feature currently.

hey24sheep commented 3 years ago

If you want you can use my flutter task or create a pr for verbose here.