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
This commit is contained in:
parent
5b7c278eb2
commit
02545ca1bf
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue