Class: GitLabBuildOutput::GitLabApi::Status
- Defined in:
- lib/gitlab_build_output/gitlab_api.rb
Constant Summary collapse
- CREATED =
'created'.freeze
- PENDING =
'pending'.freeze
- RUNNING =
'running'.freeze
- FAILED =
'failed'.freeze
- SUCCESS =
'success'.freeze
- CANCELED =
'canceled'.freeze
- SKIPPED =
'skipped'.freeze
- MANUAL =
'manual'.freeze
Class Method Summary collapse
Class Method Details
.done?(status) ⇒ Boolean
13 14 15 16 17 18 19 20 |
# File 'lib/gitlab_build_output/gitlab_api.rb', line 13 def self.done?(status) case status when FAILED, SUCCESS, CANCELED, SKIPPED true else false end end |