From c7af6c9f1bcaf90d26526519caa525a6645f27a8 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 11 Jan 2024 17:34:49 +0100 Subject: [PATCH] cleanup --- pipeline/const.go | 16 ---------------- 1 file changed, 16 deletions(-) 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