Add a way to customize failure_retry variable

Add the possibility to set the "failure_retry" parameters
into the device dictionnary in case we would like to
re-test all the failing jobs (with "infrastructure_error" or
"job_error_exception")

Signed-off-by: Mylène Josserand <mylene.josserand@collabora.com>
4 jobs for collabora/production in 9 minutes and 24 seconds (queued for 2 seconds)
Child pipeline (parent) latest
Status Job ID Name Coverage
  Build
failed #80677
lightweight
obs-aarch64-buster

00:02:03

passed #80678
lightweight
obs-armv7hl-buster

00:09:23

passed #80680
lightweight
obs-x86_64-buster

00:03:20

failed #80679
lightweight
obs-x86_64-buster

00:00:13

 
Name Stage Failure
failed
obs-aarch64-buster Build
${OSC_RESULTS} --format='%(code)s|%(repository)s|%(arch)s|%(state)s|%(dirty)s||%(details)s' | tee result.txt
building|buster|aarch64|building|False||building on softiron1000-cbg-0:4
grep '^succeeded' result.txt
Uploading artifacts for failed job
Uploading artifacts...
build.log: found 1 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=80677 responseStatus=201 Created token=CpDnCPvy
Cleaning up file based variables
ERROR: Job failed: exit code 1