mirror of
https://github.com/gradle/actions.git
synced 2025-08-23 18:31:28 +08:00
Scope captured build failures
Scopes the captured build failures to only RUN_WORK and CONFIGURE_PROJECT.
This commit is contained in:
parent
0eda626a36
commit
7e34bc6983
@ -41,10 +41,13 @@ abstract class BuildResultsRecorder implements BuildService<BuildResultsRecorder
|
|||||||
// Got EVALUATE SETTINGS event: not a config-cache hit"
|
// Got EVALUATE SETTINGS event: not a config-cache hit"
|
||||||
configCacheHit = false
|
configCacheHit = false
|
||||||
}
|
}
|
||||||
|
if (buildOperation.metadata == BuildOperationCategory.RUN_WORK ||
|
||||||
|
buildOperation.metadata == BuildOperationCategory.CONFIGURE_PROJECT) {
|
||||||
if (finishEvent.failure != null) {
|
if (finishEvent.failure != null) {
|
||||||
buildFailed = true
|
buildFailed = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void close() {
|
public void close() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user