We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e54e762 commit c561b76Copy full SHA for c561b76
1 file changed
build.gradle
@@ -118,9 +118,15 @@ ext {
118
}
119
120
measureBuilds {
121
- enable = findProperty('measureBuildsEnabled')?.toBoolean() ?: false
122
- automatticProject = MeasureBuildsExtension.AutomatticProject.WordPress
123
- authToken = findProperty('appsMetricsToken')
+ enable = secretsProperties.getProperty("measureBuildsEnabled", "false").toBoolean()
+ onBuildMetricsReadyListener { report ->
+ SlowSlowTasksMetricsReporter.report(report)
124
+ InternalA8cCiReporter.reportBlocking(
125
+ report,
126
+ "wordpress",
127
+ secretsProperties.getProperty("appsMetricsToken")
128
+ )
129
+ }
130
attachGradleScanId = System.getenv('CI')?.toBoolean() ?: false
131
132
0 commit comments