Record docker build output in database
This commit is contained in:
@@ -146,7 +146,12 @@ func ExecutePipeline(pe PipelineExecution, db database.Database, pipelineConf co
|
||||
log.Errorf("could no read build response: %w", err)
|
||||
return
|
||||
}
|
||||
log.Debugf("build log: %v", string(response))
|
||||
|
||||
err = db.UpdateRunBuildOutput(pe.Run.Id, string(response))
|
||||
if err != nil {
|
||||
log.Errorf("could not update build output for run: %w", err)
|
||||
return
|
||||
}
|
||||
|
||||
err = buildResponse.Body.Close()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user