diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-19 09:35:36 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-09 11:28:32 +0100 |
commit | 629ea43e9c361d2a2bed28bf093addd849029374 (patch) | |
tree | 42ffbb8232bb050bc4e7df826ead048a471cd644 /bin/reproducible_common.py | |
parent | 46ddc27f0bbdc0aa0c27541d63460214c4686498 (diff) | |
download | jenkins.debian.net-629ea43e9c361d2a2bed28bf093addd849029374.tar.xz |
reproducible: save the schedule message in the db and show it in the "test history" table
Diffstat (limited to 'bin/reproducible_common.py')
-rwxr-xr-x | bin/reproducible_common.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index c3a64299..47dc4fe9 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -734,10 +734,11 @@ class Package: def _load_history(self): keys = ['build ID', 'version', 'suite', 'architecture', 'result', - 'build date', 'build duration', 'node1', 'node2', 'job'] + 'build date', 'build duration', 'node1', 'node2', 'job', + 'schedule message'] query = """ SELECT id, version, suite, architecture, status, build_date, - build_duration, node1, node2, job + build_duration, node1, node2, job, schedule_message FROM stats_build WHERE name='{}' ORDER BY build_date DESC """.format(self.name) results = query_db(query) |