Skip to content

Commit

Permalink
dashboard: use external links in JobInfo
Browse files Browse the repository at this point in the history
This will let us use the information not just on the web dashboard, but
also for external reportings.
  • Loading branch information
a-nogikh committed May 25, 2023
1 parent 0513b3e commit ed3c42c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dashboard/app/jobs.go
Expand Up @@ -1425,10 +1425,10 @@ func makeJobInfo(c context.Context, job *Job, jobKey *db.Key, bug *Bug, build *B
Started: job.LastStarted,
Finished: job.Finished,
CrashTitle: job.CrashTitle,
CrashLogLink: textLink(textCrashLog, job.CrashLog),
CrashReportLink: textLink(textCrashReport, job.CrashReport),
LogLink: textLink(textLog, job.Log),
ErrorLink: textLink(textError, job.Error),
CrashLogLink: externalLink(c, textCrashLog, job.CrashLog),
CrashReportLink: externalLink(c, textCrashReport, job.CrashReport),
LogLink: externalLink(c, textLog, job.Log),
ErrorLink: externalLink(c, textError, job.Error),
Reported: job.Reported,
TreeOrigin: job.TreeOrigin,
OnMergeBase: job.MergeBaseRepo != "",
Expand Down

0 comments on commit ed3c42c

Please sign in to comment.