Module gcip.core.when

Classes

class WhenStatement (*args, **kwds)

This enum holds different when statements for Rules.

Expand source code
class WhenStatement(Enum):
    """This enum holds different [when](https://docs.gitlab.com/ee/ci/yaml/#when) statements for `Rule`s."""

    ALWAYS = "always"
    DELAYED = "delayed"
    MANUAL = "manual"
    NEVER = "never"
    ON_FAILURE = "on_failure"
    ON_SUCCESS = "on_success"

Ancestors

  • enum.Enum

Class variables

var ALWAYS
var DELAYED
var MANUAL
var NEVER
var ON_FAILURE
var ON_SUCCESS