From d35f5ba4b45f9fe0b22ef48ed471d29cf8361183 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 28 Jul 2016 15:30:02 +0200 Subject: [PATCH] Make sure we get a new test build every day --- openqa-maintenance.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openqa-maintenance.py b/openqa-maintenance.py index ef3002a6..1b83f640 100755 --- a/openqa-maintenance.py +++ b/openqa-maintenance.py @@ -425,7 +425,10 @@ class OpenQABot(ReviewBot.ReviewBot): # take the last in the row buildnr = job['settings']['BUILD'] self.update_test_builds[prj] = buildnr - if buildnr: + # ignore old build numbers, we want a fresh run every day + # to find regressions in the tests and to get data about + # randomly failing tests + if buildnr and buildnr.startswith(today): return # not found, then check for the next free build nr