Show Runner's description on job's page
This commit is contained in:
parent
f5524d554b
commit
d71193a07f
|
|
@ -45,7 +45,7 @@ export default {
|
|||
return timeIntervalInWords(this.job.queued);
|
||||
},
|
||||
runnerId() {
|
||||
return `#${this.job.runner.id}`;
|
||||
return `${this.job.runner.description} (#${this.job.runner.id})`;
|
||||
},
|
||||
retryButtonClass() {
|
||||
let className = 'js-retry-button pull-right btn btn-retry visible-md-block visible-lg-block';
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ describe('Sidebar details block', () => {
|
|||
});
|
||||
|
||||
it('should render runner ID', () => {
|
||||
expect(trimWhitespace(vm.$el.querySelector('.js-job-runner'))).toEqual('Runner: #1');
|
||||
expect(trimWhitespace(vm.$el.querySelector('.js-job-runner'))).toEqual('Runner: local ci runner (#1)');
|
||||
});
|
||||
|
||||
it('should render timeout information', () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue