nci/static/js/app/components/builds/view.jade

53 lines
1019 B
Plaintext
Raw Normal View History

2015-05-17 13:48:16 +00:00
if this.state.build
h2
2015-06-14 14:21:04 +00:00
span= this.state.build.project.name
span build #
2015-05-17 13:48:16 +00:00
span= this.state.build.number
2015-06-14 14:21:04 +00:00
div
| Initiated by
- var initiator = this.state.build.initiator;
if initiator.type === 'user'
span user
else if initiator.type === 'build'
span= initiator.project.name
span build #
span= initiator.number
else
span= initiator.type
2015-06-14 14:21:04 +00:00
if this.state.build.startDate
div
| Started at
if this.state.build.startDate
DateTime(date=new Date(this.state.build.startDate))
else
| -
else
div
| Queued at
if this.state.build.createDate
DateTime(date=new Date(this.state.build.createDate))
else
| -
div
2015-07-11 10:46:28 +00:00
| Built at
if this.state.build.endDate
DateTime(date=new Date(this.state.build.endDate))
else
| -
div
if this.state.build.error
| Error:
2015-06-28 14:47:34 +00:00
span= this.state.build.error.message
if this.state.build.error.stderr
div stderr:
pre= this.state.build.error.stderr
2015-06-14 15:24:03 +00:00
.row
.col-md-8
Terminal(build=this.state.build.id)