diff --git a/pipeline/const.go b/pipeline/const.go index be0592f01f..a4bec9789b 100644 --- a/pipeline/const.go +++ b/pipeline/const.go @@ -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