diff options
author | Tobias Henkel <tobias.henkel@bmw.de> | 2019-03-31 15:10:23 +0200 |
---|---|---|
committer | Tobias Henkel <tobias.henkel@bmw.de> | 2019-04-01 18:48:01 +0200 |
commit | 02545ca1bf56555280c6bb25589824511c103e8c (patch) | |
tree | 135b08936f8c5cf99a233a8671e59d54f84e579b /web/src/containers/job/JobVariant.jsx | |
parent | 5b7c278eb2e3cf4d5d9a9e4de03a3b570805572f (diff) | |
download | zuul-02545ca1bf56555280c6bb25589824511c103e8c.tar.gz |
Add link to builds in job page
Since the introduction of the tree view of the jobs there is no
workflow anymore to directly get to the build results of this
job. Especially when working with periodic jobs it's now more
cumbersome to get to these result. Thus add a link to the build
results on the job page.
Change-Id: Ia5c9dcbf91bb606ce0bab0cfaea1f406e95c8630
Diffstat (limited to 'web/src/containers/job/JobVariant.jsx')
-rw-r--r-- | web/src/containers/job/JobVariant.jsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/web/src/containers/job/JobVariant.jsx b/web/src/containers/job/JobVariant.jsx index 80a6f5b01..4c01f2a57 100644 --- a/web/src/containers/job/JobVariant.jsx +++ b/web/src/containers/job/JobVariant.jsx @@ -83,7 +83,7 @@ class JobVariant extends React.Component { const rows = [] const jobInfos = [ - 'description', 'context', 'status', + 'description', 'context', 'builds', 'status', 'parent', 'attempts', 'timeout', 'semaphore', 'implied_branch', 'nodeset', 'variables', ] @@ -98,6 +98,13 @@ class JobVariant extends React.Component { showBranch={true}/> ) } + if (label === 'builds') { + value = ( + <Link to={this.props.tenant.linkPrefix + '/builds?job_name=' + variant.name}> + build history + </Link> + ) + } if (label === 'status') { value = this.renderStatus(variant) } |