We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parents641b80a +877ddc0 commit31bca2fCopy full SHA for 31bca2f
gitlab/v4/objects.py
@@ -2277,6 +2277,25 @@ def changes(self, **kwargs):
2277
path='%s/%s/changes'% (self.manager.path,self.get_id())
2278
returnself.manager.gitlab.http_get(path,**kwargs)
2279
2280
+@cli.register_custom_action('ProjectMergeRequest')
2281
+@exc.on_http_error(exc.GitlabListError)
2282
+defpipelines(self,**kwargs):
2283
+"""List the merge request pipelines.
2284
+
2285
+ Args:
2286
+ **kwargs: Extra options to send to the server (e.g. sudo)
2287
2288
+ Raises:
2289
+ GitlabAuthenticationError: If authentication is not correct
2290
+ GitlabListError: If the list could not be retrieved
2291
2292
+ Returns:
2293
+ RESTObjectList: List of changes
2294
+ """
2295
2296
+path='%s/%s/pipelines'% (self.manager.path,self.get_id())
2297
+returnself.manager.gitlab.http_get(path,**kwargs)
2298
2299
@cli.register_custom_action('ProjectMergeRequest',tuple(), ('sha'))
2300
@exc.on_http_error(exc.GitlabMRApprovalError)
2301
defapprove(self,sha=None,**kwargs):