scripts: improve scripts to remember last build failure [1/1]

PD#SWPL-67525

Problem:
improve scripts to remember last build failure

Solution:
improve scripts to remember last build failure

Verify:
ad401_a113l

Change-Id: Iac464c6df074479898bf5413c412467005594548
Signed-off-by: Kelvin Zhang <kelvin.zhang@amlogic.com>
3 files changed