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

Commit460aa2b

Browse files
committed
fix: re-add merge request pipelines
1 parent641b80a commit460aa2b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

‎gitlab/v4/objects.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,6 +2277,22 @@ def changes(self, **kwargs):
22772277
path='%s/%s/changes'% (self.manager.path,self.get_id())
22782278
returnself.manager.gitlab.http_get(path,**kwargs)
22792279

2280+
@cli.register_custom_action('ProjectMergeRequest')
2281+
@exc.on_http_error(exc.GitlabListError)
2282+
defpipelines(self,**kwargs):
2283+
"""List the merge request pipelines.
2284+
Args:
2285+
**kwargs: Extra options to send to the server (e.g. sudo)
2286+
Raises:
2287+
GitlabAuthenticationError: If authentication is not correct
2288+
GitlabListError: If the list could not be retrieved
2289+
Returns:
2290+
RESTObjectList: List of changes
2291+
"""
2292+
2293+
path='%s/%s/pipelines'% (self.manager.path,self.get_id())
2294+
returnself.manager.gitlab.http_get(path,**kwargs)
2295+
22802296
@cli.register_custom_action('ProjectMergeRequest',tuple(), ('sha'))
22812297
@exc.on_http_error(exc.GitlabMRApprovalError)
22822298
defapprove(self,sha=None,**kwargs):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp