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

Commitb861837

Browse files
committed
Project pipeline jobs
1 parent34e32a0 commitb861837

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
@@ -1706,7 +1706,23 @@ def raw(self, file_path, ref, streamed=False, action=None, chunk_size=1024,
17061706
returnutils.response_content(result,streamed,action,chunk_size)
17071707

17081708

1709+
classProjectPipelineJob(ProjectJob):
1710+
pass
1711+
1712+
1713+
classProjectPipelineJobsManager(ListMixin,RESTManager):
1714+
_path='/projects/%(project_id)s/pipelines/%(pipeline_id)s/jobs'
1715+
_obj_cls=ProjectPipelineJob
1716+
_from_parent_attrs= {'project_id':'project_id',
1717+
'pipeline_id' :'id'}
1718+
_list_filters= ('scope',)
1719+
1720+
17091721
classProjectPipeline(RESTObject):
1722+
_managers= (
1723+
('jobs','ProjectPipelineJobsManager'),
1724+
)
1725+
17101726
@cli.register_custom_action('ProjectPipeline')
17111727
@exc.on_http_error(exc.GitlabPipelineCancelError)
17121728
defcancel(self,**kwargs):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp