diff --git a/README.md b/README.md index 7eedf80..01ea4e2 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ content ## Feature requests -* should write at the end of build console out that build is done (or error) +* ~~should write at the end of build console out that build is done (or error)~~ * ~~share workspace files at static~~ * "clear workspace" button * show more builds button (or infinity scroll) on start page diff --git a/static/js/app/components/builds/view.jade b/static/js/app/components/builds/view.jade index 6e7121a..7fce52e 100644 --- a/static/js/app/components/builds/view.jade +++ b/static/js/app/components/builds/view.jade @@ -115,3 +115,13 @@ div.row | Console output .build-view_terminal Terminal(build=this.state.build.id) + + if this.state.build.completed + if this.state.build.error + .text-center.alert.alert-danger + | Build ended with error + Duration(value=(this.state.build.endDate - this.state.build.startDate), withSuffix=true) + else + .text-center.alert.alert-success + | Build successfully completed + Duration(value=(this.state.build.endDate - this.state.build.startDate), withSuffix=true)