mirror of
https://github.com/gradle/actions.git
synced 2025-04-19 01:09:20 +08:00
Detect failure in any build operation
This commit is contained in:
parent
597453a60d
commit
46042da961
@ -41,11 +41,8 @@ abstract class BuildResultsRecorder implements BuildService<BuildResultsRecorder
|
||||
// Got EVALUATE SETTINGS event: not a config-cache hit"
|
||||
configCacheHit = false
|
||||
}
|
||||
if (buildOperation.metadata == BuildOperationCategory.RUN_WORK ||
|
||||
buildOperation.metadata == BuildOperationCategory.CONFIGURE_PROJECT) {
|
||||
if (finishEvent.failure != null) {
|
||||
buildFailed = true
|
||||
}
|
||||
if (finishEvent.failure != null) {
|
||||
buildFailed = true
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user