diff options
author | Simon Westphahl <simon.westphahl@bmw.de> | 2019-12-05 15:46:15 +0100 |
---|---|---|
committer | Simon Westphahl <simon.westphahl@bmw.de> | 2019-12-05 15:55:43 +0100 |
commit | e58e8224c0b19ea239cca087fd24226eb43c4b2c (patch) | |
tree | bfa86aeb9567da5c84cde612827bffaeed9e1e58 /web | |
parent | 938ca7b8b49ee91e3dbeee656c250203e49280f3 (diff) | |
download | zuul-e58e8224c0b19ea239cca087fd24226eb43c4b2c.tar.gz |
Store event id for buildsets in database
Having the zuul event id available in the database and also in the build
and buildset detail page makes debugging a lot easier.
Change-Id: Ia1e4aaf50fb28bb27cbcfcfc3b5a92bba88fc85e
Diffstat (limited to 'web')
-rw-r--r-- | web/src/containers/build/Buildset.jsx | 5 | ||||
-rw-r--r-- | web/src/containers/build/Summary.jsx | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/web/src/containers/build/Buildset.jsx b/web/src/containers/build/Buildset.jsx index 5d2a2a31b..803022a21 100644 --- a/web/src/containers/build/Buildset.jsx +++ b/web/src/containers/build/Buildset.jsx @@ -30,7 +30,7 @@ class Buildset extends React.Component { const { buildset } = this.props const rows = [] const myColumns = [ - 'change', 'project', 'branch', 'pipeline', 'result', 'message' + 'change', 'project', 'branch', 'pipeline', 'result', 'message', 'event_id' ] const buildRows = [] const buildColumns = [ @@ -47,6 +47,9 @@ class Buildset extends React.Component { </a> ) } + if (column === 'event_id') { + label = 'event id' + } if (value) { rows.push({key: label, value: value}) } diff --git a/web/src/containers/build/Summary.jsx b/web/src/containers/build/Summary.jsx index c2ce558d7..90eea6af7 100644 --- a/web/src/containers/build/Summary.jsx +++ b/web/src/containers/build/Summary.jsx @@ -34,7 +34,7 @@ class Summary extends React.Component { 'job_name', 'result', 'buildset', 'voting', 'pipeline', 'start_time', 'end_time', 'duration', 'project', 'branch', 'change', 'patchset', 'oldrev', 'newrev', - 'ref', 'new_rev', 'ref_url', 'log_url'] + 'ref', 'new_rev', 'ref_url', 'log_url', 'event_id'] if (!build.buildset) { // Safely handle missing buildset information @@ -75,6 +75,9 @@ class Summary extends React.Component { if (column === 'ref_url') { label = 'ref url' } + if (column === 'event_id') { + label = 'event id' + } if (value) { rows.push({key: label, value: value}) } |