Commit 6df9cd60 authored by Kamil Trzciński's avatar Kamil Trzciński 🔴

Merge branch 'rename-build-succeeded-to-job-succeeded' into 'master'

Rename 'Build (succeeded|failed)' to 'Job (succeeded|failed)'

Closes #2080

See merge request !459
parents dbf70b85 d68c9e3a
......@@ -323,13 +323,13 @@ func (b *Build) Run(globalConfig *Config, trace BuildTrace) (err error) {
defer func() {
if _, ok := err.(*BuildError); ok {
logger.SoftErrorln("Build failed:", err)
logger.SoftErrorln("Job failed:", err)
trace.Fail(err)
} else if err != nil {
logger.Errorln("Build failed (system failure):", err)
logger.Errorln("Job failed (system failure):", err)
trace.Fail(err)
} else {
logger.Infoln("Build succeeded")
logger.Infoln("Job succeeded")
trace.Success()
}
if executor != nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment