[OE-core] [PATCH 0/2] reporter-error sending report

João Henrique Ferreira de Freitas joaohf at gmail.com
Wed Nov 12 23:08:37 UTC 2014


When the Error Reporting Tool is enabled and the build fails, then the report-error 
prints an url that the user needs to get and use the send-error-report tool which
will sends the reporter to a public or private reporting server error.

This works very well if the user is sitting in front of the building machine.
There are some cases, like jobs running on Jenkins server, that need to send
reports automatically when a build fails.

This patch set introduces a glue between reporter-error.bbclass and send-error-reporter tool.
So, report erros will be send as soon as an error happens.

Two new variables were added and the user takes the responsible to fill them (conf/site.conf),
for example:

INHERIT += "report-error"
ERR_REPORT_SERVER = "127.0.0.1:8000"
ERR_REPORT_USER = "joaohf"
ERR_REPORT_EMAIL = "joaohf at gmail.com"


João Henrique Ferreira de Freitas (2):
  report-error: sending error report to server without user intervention
  report-error: send report error with username and email

 meta/classes/report-error.bbclass | 15 +++++++++++++
 scripts/send-error-report         | 45 ++++++++++++++++++++++++---------------
 2 files changed, 43 insertions(+), 17 deletions(-)

-- 
1.9.1




More information about the Openembedded-core mailing list