diff options
Diffstat (limited to 'classes/oestats-client.bbclass')
-rw-r--r-- | classes/oestats-client.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/oestats-client.bbclass b/classes/oestats-client.bbclass index 8922496242..db7025b307 100644 --- a/classes/oestats-client.bbclass +++ b/classes/oestats-client.bbclass @@ -198,6 +198,9 @@ python oestats_eventhandler () { oestats_task(server, e.data, e.task, 'Succeeded') elif getName(e) == 'TaskFailed': oestats_task(server, e.data, e.task, 'Failed') + elif getName(e) == "PkgFailed": + if not bb.data.getVar('AUTOBUILD', e.data, True) == "0": + build.exec_func('do_clean', data) return NotHandled } |