azure-pipelines-tasks: Gradle build task failure message is not friendly

When Gradle build fails, the message I see in build summary is not very helpful:

Error: D:\a\1\s\gradlew.bat failed with return code: 1

for example: screen shot 2017-01-20 at 19 37 50

In order to find what the real error is I have to go into logs: screen shot 2017-01-20 at 19 37 11

Is it possible to make What went wrong part appear on the build summary page?

Also it would be nice to make messages in the “Issues” section on build summary page clickable links to the corresponding place in full logs.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (6 by maintainers)

Most upvoted comments

Hi everyone! We’ve completed related PR and going fully roll out changes in the next 1-2 weeks, will let you know once it’s fully available.

@shtratos: We will track this as an enahancement. Gradle writes “what went wrong” to STDOUT, so to show better information on the summary section will require parsing the STDOUT.