opencensus-java icon indicating copy to clipboard operation
opencensus-java copied to clipboard

Print the diff when "./gradlew verGJF" fails in CI.

Open sebright2 opened this issue 7 years ago • 0 comments

See https://github.com/census-instrumentation/opencensus-java/pull/1141#issuecomment-388479392. When ~~google-java-format~~ google-java-format-gradle-plugin fails, it lists the files with incorrect formatting, but it doesn't describe the error. We could provide more information about the failure by running "./gradlew goJF" and then printing the diff when the command fails in CI.

Related google-java-format-gradle-plugin issue: https://github.com/sherter/google-java-format-gradle-plugin/issues/19

sebright2 avatar May 14 '18 19:05 sebright2