Merge "Add link to builds in job page"
This commit is contained in:
commit
4af8c52a2e
|
@ -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