In current implementation, build scan is always publishIfAuthenticated, which means that if users want to customize the publishing strategy, it's impossible - because buildScan.publishing seems to be stacked instead overwriting each other.
We should allow users to customize their publishing. From: @bamboo :
I don't want to publish build scans for every build I run so I tried to write an init script using develocity.buildScan.publishing.onlyIf { ... } but that seemed to have no effect in the Gradle build
In current implementation, build scan is always
publishIfAuthenticated
, which means that if users want to customize the publishing strategy, it's impossible - becausebuildScan.publishing
seems to be stacked instead overwriting each other.We should allow users to customize their publishing. From: @bamboo :