GitLabCIPipelineSource Enum

Summary

Enumerates possible triggers of a GitLab CI pipeline.
Namespace
Cake.Common.Build.GitLabCI.Data
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["ISpanFormattable"] Type-.->Interface2["IFormattable"] Type-.->Interface3["IConvertible"] Type["GitLabCIPipelineSource"] class Type type-node

Syntax

public enum GitLabCIPipelineSource

Fields

Name Constant Value Summary
Api 0
Pipeline var triggered by the pipelines API.
static
Chat 1
Pipeline was created using a GitLab ChatOps command.
static
External 2
Pipeline was created using a CI service other than GitLab
static
ExternalPullRequestEvent 3
Pipeline was created because an external pull request on GitHub was created or updated.
static
MergeRequestEvent 4
Pipeline was created because a merge request was created or updated.
static
OnDemandDastScan 5
Pipeline is an on-demand DAST scan pipeline.
static
OnDemandDastValidation 6
Pipeline is an on-demand DAST validation pipeline.
static
ParentPipeline 7
Pipeline was created by a parent pipeline.
static
Pipeline 8
Pipeline was created by another pipeline
static
Push 9
Pipelune was triggered by a Git push event.
static
Schedule 10
Pipeline was triggered by a schedule.
static
SecurityOrchestrationPolicy 11
Pipeline is a security orchestration policy pipeline.
static
Trigger 12
Pipeline was created using a trigger token.
static
Web 13
Pipeline was created by selecting New Pipeline in the GitLab UI.
static
WebIde 14
Pipeline was created using the Web IDE.
static

Extension Methods

Name Value Summary
Dump<GitLabCIPipelineSource>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GitLabCIPipelineSource>(GitLabCIPipelineSource[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<GitLabCIPipelineSource>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GitLabCIPipelineSource>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin

See Also