I have had a similar problem in the past and had reached out to the company
on the gradle forum[1]. They debugged that it was an issue with how some
plugin was generating some data that was causing issues on their end. They
suggested using a newer version and eventually fixed the problem on their
end as well. You could try the same.

1:
https://discuss.gradle.org/t/your-build-scan-could-not-be-displayed-what-does-this-mean/33302


On Thu, Jun 25, 2020 at 3:52 PM Alex Amato <[email protected]> wrote:

> Hi, for some reason I get this error when I build my build scan URLS.
>
> Any ideas why this is occurring? :(
> Thanks for taking a look at this.
>
> https://scans.gradle.com/s/wvqklwnjrl3ky
>
> Here is where I enable build scans. Any issue with the plugin version or
> something? Though, I also had it occur when I commented out the plugin and
> passed in --scan manually.
>
> ajamato@ajamato-linux0:~/beam$ cat ~/.gradle/init.d/buildScan.gradle
>
>
> initscript {
>
>   repositories {
>
>     gradlePluginPortal()
>
>   }
>
>   dependencies {
>
>     classpath 'com.gradle:build-scan-plugin:2.0.2'
>
>   }
>
> }
>
> rootProject {
>
>   apply plugin: com.gradle.scan.plugin.BuildScanPlugin
>
>   buildScan {
>
>     publishOnFailure()
>
>     termsOfServiceUrl = 'https://gradle.com/terms-of-service'
>
>     termsOfServiceAgree = 'yes'
>
>   }
>
> }
>
>
>

Reply via email to