Merge pull request #304 from gradle/dd/test-init-scripts
Improve init scripts and add test coverage
The build-scan-capture init script will now capture results from builds that do not publish a build-scan, with and without the configuration-cache.
Fixes #292