Generate publish event for failed/broken/unresolvable.
PROBLEM:
- If the first building package is failed/broken/unresolable,
a publish is not generated. This is normal because no difference
made in the repo.
- However, we need to generate a publish event to update dashboard
even for this case.
SOLUTION:
- SCHEDULER:
unresolvable/broken is checked by scheduler.
Make :need_publish if we found any unresolable/broken package.
This ensures that a publish event will be generated even if the repo
has not been changed.
- REPO_SERVER:
It checks build fail.
Make :need_publish if we found any package was failed to build.
This ensures that a publish event will be generated even if the repo
has not been changed.
Change-Id: I640e3eca1b07d7cb2066423a38346c2f8ad1f20b
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>