Skip to content

Commit

Permalink
Ⓜ️ Collect artifacts before running on_finished tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnjack committed Jan 2, 2020
1 parent e7b87fe commit 998fd9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,9 @@ func (b *Build) SetBuildStatus(status ItemStatus) {
b.Cleanup()
break
case StatusFinished:
b.CollectArtifacts()
b.runOnStatusTasks(status)
b.Duration = time.Since(b.StartedAt)
b.CollectArtifacts()
b.Cleanup()
break
}
Expand Down

0 comments on commit 998fd9e

Please sign in to comment.