Slackbot
01/11/2023, 1:47 AMJacob Kim
01/11/2023, 1:48 AMgradle myTask --scan
in my Jenkins task, but the below message appeared.
The build scan was not published due to a configuration problem.
The Gradle Terms of Service have not been agreed to.
For more information, please see <https://gradle.com/help/plugin-terms-of-service>.
Alternatively, if you are using Gradle Enterprise, specify the server location.
For more information, please see <https://gradle.com/help/plugin-enterprise-config>.
Jacob Kim
01/11/2023, 1:50 AMgradleEnterprise {
buildScan {
termsOfServiceUrl = "<https://gradle.com/terms-of-service>"
termsOfServiceAgree = "yes"
}
}
Execution after add upper codes
Could not find method gradleEnterprise() for arguments [build_ih85hvlem9wc3ixh6nvigil5$_run_closure4@27e0752a] on root project 'myproject' of type org.gradle.api.Project.
ephemient
01/11/2023, 1:50 AMephemient
01/11/2023, 1:50 AMJacob Kim
01/11/2023, 1:51 AMephemient
01/11/2023, 1:51 AMgradleEnterprise
in build.gradle
or in settings.gradle
?Jacob Kim
01/11/2023, 1:52 AMbuild.gradle
file. (not in other configuration blocks scope {}
& at end of file)
Is there any additional plugin for gradleEnterprise { }
configuration?ephemient
01/11/2023, 1:54 AMcom.gradle.enterprise
plugin, as documented on that pageephemient
01/11/2023, 1:55 AMephemient
01/11/2023, 2:01 AM--scan
parameter?Jacob Kim
01/11/2023, 2:01 AMephemient
01/11/2023, 2:02 AMJacob Kim
01/11/2023, 2:04 AM