Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4954bbc

Browse files
nickbroonnejch
authored andcommitted
feat: add pipeline status as Enum
https://docs.gitlab.com/ee/api/pipelines.html
1 parent7b864b8 commit4954bbc

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

‎gitlab/const.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,21 @@ class DetailedMergeStatus(GitlabEnum):
7272
POLICIES_DENIED:str="policies_denied"
7373

7474

75+
# https://docs.gitlab.com/ee/api/pipelines.html
76+
classPipelineStatus(GitlabEnum):
77+
CREATED:str="created"
78+
WAITING_FOR_RESOURCE:str="waiting_for_resource"
79+
PREPARING:str="preparing"
80+
PENDING:str="pending"
81+
RUNNING:str="running"
82+
SUCCESS:str="success"
83+
FAILED:str="failed"
84+
CANCELED:str="canceled"
85+
SKIPPED:str="skipped"
86+
MANUAL:str="manual"
87+
SCHEDULED:str="scheduled"
88+
89+
7590
DEFAULT_URL:str="https://gitlab.com"
7691

7792
NO_ACCESS=AccessLevel.NO_ACCESS.value

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp