diff --git a/yocto_console_view/src/module/main.module.js b/yocto_console_view/src/module/main.module.js index 9cf0c83..167fb0e 100644 --- a/yocto_console_view/src/module/main.module.js +++ b/yocto_console_view/src/module/main.module.js @@ -101,7 +101,7 @@ class Console { this.$scope.branchmapping = (this.branchmapping = {}); this.$scope.builds = (this.builds = this.dataAccessor.getBuilds({ - property: ["yp_build_revision", "yp_build_branch", "reason"], + property: ["yp_build_revision", "yp_build_branch", "reason", "publish_destination"], limit: this.buildLimit, order: '-started_at' })); @@ -435,6 +435,9 @@ class Console { if ((build.properties != null ? build.properties.reason : undefined) != null) { change.reason = build.properties.reason[0]; } + if ((build.properties != null ? build.properties.publish_destination : undefined) != null) { + change.publishurl = build.properties.publish_destination[0].replace("/srv/autobuilder/autobuilder.yoctoproject.org/", "https://autobuilder.yocto.io/"); + } } else { rev = `Unresolved Revision`; if ((change == null)) { diff --git a/yocto_console_view/src/module/yoctochangedetails.tpl.jade b/yocto_console_view/src/module/yoctochangedetails.tpl.jade index 52befd7..e563e79 100644 --- a/yocto_console_view/src/module/yoctochangedetails.tpl.jade +++ b/yocto_console_view/src/module/yoctochangedetails.tpl.jade @@ -6,6 +6,8 @@ div.yoctochangedetails(style="width:100%;") | {{ "Errors" }}   a(ng-if="change.loglink", ng-href="{{change.loglink}}") | {{ "WikiLog" }}   + a(ng-if="change.publishurl", ng-href="{{change.publishurl}}") + | {{ "Output" }}   span(ng-if="!change.revlink", uib-tooltip="{{change.comments}}") | {{ change.caption }}   span(ng-if="!compact" uib-tooltip="{{change.when_timestamp | dateformat:'LLL'}}")