How do I teach GitLab CI or Circle CI (or any other CI) how to accept the ToS?
Thanks in advance!
In a CI environment, you have to accept the ToS programmatically.
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
Please have a look at the Build Scan Plugin User Manual for more information.