File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -2277,6 +2277,21 @@ def changes(self, **kwargs):
22772277 path = '%s/%s/changes' % (self .manager .path , self .get_id ())
22782278 return self .manager .gitlab .http_get (path , ** kwargs )
22792279
2280+ @cli .register_custom_action ('ProjectMergeRequest' )
2281+ @exc .on_http_error (exc .GitlabListError )
2282+ def pipelines (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+ path = '%s/%s/pipelines' % (self .manager .path , self .get_id ())
2293+ return self .manager .gitlab .http_get (path , ** kwargs )
2294+
22802295 @cli .register_custom_action ('ProjectMergeRequest' , tuple (), ('sha' ))
22812296 @exc .on_http_error (exc .GitlabMRApprovalError )
22822297 def approve (self , sha = None , ** kwargs ):
You can’t perform that action at this time.
0 commit comments