mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
yocto_console_view: Add link to output directory in summary
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c31ca19a34
commit
e878e85d5c
|
@ -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)) {
|
||||
|
|
|
@ -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'}}")
|
||||
|
|
Loading…
Reference in New Issue
Block a user