Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Jan 13, 2024
1 parent 33ce69d commit c7af6c9
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions pipeline/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,4 @@

package pipeline

// StatusValue represent pipeline states woodpecker know
type StatusValue string // @name StatusValue

const (
StatusSkipped StatusValue = "skipped" // skipped as another step failed
StatusPending StatusValue = "pending" // pending to be executed
StatusRunning StatusValue = "running" // currently running
StatusSuccess StatusValue = "success" // successfully finished
StatusFailure StatusValue = "failure" // failed to finish (exit code != 0)
StatusKilled StatusValue = "killed" // killed by user
StatusError StatusValue = "error" // error with the config / while parsing / some other system problem
StatusBlocked StatusValue = "blocked" // waiting for approval
StatusDeclined StatusValue = "declined" // blocked and declined
StatusCreated StatusValue = "created" // created / internal use only
)

const ExitCodeKilled int = 137

0 comments on commit c7af6c9

Please sign in to comment.