Explain the UNKNWON STEP placeholder
Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
parent
f673b409f7
commit
1bf1153c54
1 changed files with 5 additions and 0 deletions
|
|
@ -711,6 +711,11 @@ func displayRunLog(w io.Writer, jobs []shared.Job, failed bool) error {
|
|||
continue
|
||||
}
|
||||
|
||||
// Here, we fall back to the job run log, which means we do not know
|
||||
// the step name of lines. However, we want to keep the same line
|
||||
// formatting to avoid breaking any code or script that rely on the
|
||||
// tab-delimited formatting. So, an unknown-step placeholder is used
|
||||
// instead of the actual step name.
|
||||
prefix := fmt.Sprintf("%s\tUNKNOWN STEP\t", job.Name)
|
||||
if err := printZIPFile(w, job.Log, prefix); err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue