diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-15 10:43:44 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-09 11:28:32 +0100 |
commit | a3722c8457f22264c8d2850925addffb01e40e94 (patch) | |
tree | 627c4b477fd238d2315710b9485a6e73be611105 /bin/reproducible_common.py | |
parent | 058954f967672a719c930a783af3b23d97d632e2 (diff) | |
download | jenkins.debian.net-a3722c8457f22264c8d2850925addffb01e40e94.tar.xz |
reproducible: store in the db also the actual build host in stats_build, and rename the current "builder" field to "job", since it contains the jenkins job name and nummber
Diffstat (limited to 'bin/reproducible_common.py')
-rwxr-xr-x | bin/reproducible_common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index 6f2772ba..c3a64299 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -734,10 +734,10 @@ class Package: def _load_history(self): keys = ['build ID', 'version', 'suite', 'architecture', 'result', - 'build date', 'build duration', 'builder'] + 'build date', 'build duration', 'node1', 'node2', 'job'] query = """ SELECT id, version, suite, architecture, status, build_date, - build_duration, builder + build_duration, node1, node2, job FROM stats_build WHERE name='{}' ORDER BY build_date DESC """.format(self.name) results = query_db(query) |