Replace UNKNOWN with UNKNOWN STEP in job run log
Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
parent
0251a8dd6d
commit
f673b409f7
2 changed files with 13 additions and 13 deletions
|
|
@ -711,7 +711,7 @@ func displayRunLog(w io.Writer, jobs []shared.Job, failed bool) error {
|
|||
continue
|
||||
}
|
||||
|
||||
prefix := fmt.Sprintf("%s\tUNKNOWN\t", job.Name)
|
||||
prefix := fmt.Sprintf("%s\tUNKNOWN STEP\t", job.Name)
|
||||
if err := printZIPFile(w, job.Log, prefix); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2298,27 +2298,27 @@ sad job quux the barf log line 3
|
|||
`)
|
||||
|
||||
var coolJobRunWithNoStepLogsLogOutput = heredoc.Doc(`
|
||||
cool job with no step logs UNKNOWN log line 1
|
||||
cool job with no step logs UNKNOWN log line 2
|
||||
cool job with no step logs UNKNOWN log line 3
|
||||
cool job with no step logs UNKNOWN STEP log line 1
|
||||
cool job with no step logs UNKNOWN STEP log line 2
|
||||
cool job with no step logs UNKNOWN STEP log line 3
|
||||
`)
|
||||
|
||||
var legacyCoolJobRunWithNoStepLogsLogOutput = heredoc.Doc(`
|
||||
legacy cool job with no step logs UNKNOWN log line 1
|
||||
legacy cool job with no step logs UNKNOWN log line 2
|
||||
legacy cool job with no step logs UNKNOWN log line 3
|
||||
legacy cool job with no step logs UNKNOWN STEP log line 1
|
||||
legacy cool job with no step logs UNKNOWN STEP log line 2
|
||||
legacy cool job with no step logs UNKNOWN STEP log line 3
|
||||
`)
|
||||
|
||||
var sadJobRunWithNoStepLogsLogOutput = heredoc.Doc(`
|
||||
sad job with no step logs UNKNOWN log line 1
|
||||
sad job with no step logs UNKNOWN log line 2
|
||||
sad job with no step logs UNKNOWN log line 3
|
||||
sad job with no step logs UNKNOWN STEP log line 1
|
||||
sad job with no step logs UNKNOWN STEP log line 2
|
||||
sad job with no step logs UNKNOWN STEP log line 3
|
||||
`)
|
||||
|
||||
var legacySadJobRunWithNoStepLogsLogOutput = heredoc.Doc(`
|
||||
legacy sad job with no step logs UNKNOWN log line 1
|
||||
legacy sad job with no step logs UNKNOWN log line 2
|
||||
legacy sad job with no step logs UNKNOWN log line 3
|
||||
legacy sad job with no step logs UNKNOWN STEP log line 1
|
||||
legacy sad job with no step logs UNKNOWN STEP log line 2
|
||||
legacy sad job with no step logs UNKNOWN STEP log line 3
|
||||
`)
|
||||
|
||||
var coolJobRunLogOutput = fmt.Sprintf("%s%s", fobTheBarzLogOutput, barfTheFobLogOutput)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue