I looked into the providing scan. That issue seems to be on the plugin side unfortunately. Is it possible for you to provide a reproducable example build we can use locally to narrow down the root cause?
at luke. from having a deeper look my initial hunch is that this is related to the spotless plugin you’re using. Would you mind trying your build without this plugin being applied? As said a reproducable example bulid would be golden for use narrowing down this issue quickly.
Thanks for reporting this. It’s caused by the spotless plugin resolving build script configurations in an unexpected place, which is why removing spotless from your build fixes the issue.
We will include a fix to handle the unexpected data more gracefully in the next version of Gradle Enterprise and will of course update scans.gradle.com when the fix is available.
In the meantime your options are to remove spotless as you have done here, or downgrade the build scan plugin to version 2.3. The latter means that you won’t collect / view the new dependency data that 2.4 enables, but it also won’t fall over before the bug is fixed.
Hi, I just wanted to mention that I am seeing the same issue as well today using build scan plugin 2.4.2. I also saw it on a few other versions, 2.3, 2.0.2.
When such limits are reached, scans.gradle.com rejects the build scan, and you see ‘Your build scan could not be displayed’ when you try to access the build scan.
We plan to improve the user experience here, by providing more information when that happens, but I can’t commit to any date yet.
Please note that when using a licensed Gradle Enterprise instance, these limits are configurable to suit your needs.
Also, we optimized the storage of some captured build scan data in recent Gradle Enterprise Gradle plugin versions, and some builds that were exhibiting these symptoms with older version of the plugin will now work fine. Could you upgrade to a more recent version of the plugin and try ?
If it still fails, you can also give me the build scan URL and I will look exactly which type of data is causing the problem, to give you more context.
It is also possible that this message is shown when there is a genuine error processing the build scan data, but I can’t know for sure unless you give me a build scan URL.