mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 12:49:03 +02:00
yocto_console_view: Show build reason in console display
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b972e58722
commit
92bcd50cce
|
@ -76,7 +76,7 @@ class Console extends Controller
|
|||
return 1
|
||||
|
||||
@$scope.builds = @builds = @dataAccessor.getBuilds
|
||||
property: ["yp_build_revision", "yp_build_branch"]
|
||||
property: ["yp_build_revision", "yp_build_branch", "reason"]
|
||||
limit: @buildLimit
|
||||
order: '-started_at'
|
||||
@changes = @dataAccessor.getChanges({limit: @changeLimit, order: '-changeid'})
|
||||
|
@ -280,6 +280,8 @@ class Console extends Controller
|
|||
change.caption = build.properties.yp_build_branch[0]
|
||||
change.revlink = "http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=" + rev
|
||||
change.errorlink = "http://errors.yoctoproject.org/Errors/Latest/Autobuilder/?filter=" + rev + "&type=commit"
|
||||
if build.properties?.reason?
|
||||
change.reason = build.properties.reason[0]
|
||||
|
||||
else
|
||||
if buildset? and buildset.parent_buildid?
|
||||
|
|
|
@ -11,6 +11,9 @@ div.yoctochangedetails(style="width:100%;")
|
|||
i.fa.fa-chevron-circle-right.rotate.clickable(ng-class="{'fa-rotate-90':change.show_details}")
|
||||
div.anim-changedetails(ng-show="change.show_details")
|
||||
table.table.table-striped.table-condensed(ng-show="change.show_details")
|
||||
tr(ng-show="change.reason")
|
||||
td Reason
|
||||
td {{ change.reason }}
|
||||
tr(ng-show="change.author")
|
||||
td Author
|
||||
td {{ change.author }}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user