Browse Source

En cours de développement

master
losyme 2 months ago
parent
commit
bb26bd70c5
  1. 8
      internal/model/workflows.go

8
internal/model/workflows.go

@ -194,9 +194,13 @@ func (m *model) updateWorkflow(wf *jw.Workflow, job *jw.Job) error {
return err
}
// AFINIR: statut du workflow
if stepName == "" {
wf.Status = jw.StatusSucceeded
if job.ErrorCounter > 0 {
wf.Status = jw.StatusFailed
} else {
wf.Status = jw.StatusSucceeded
}
wf.Finished()
return m.storageUpdateWorkflow(wf, job, nil)

Loading…
Cancel
Save