diff options
Diffstat (limited to 'docs/gl_objects/projects.py')
-rw-r--r-- | docs/gl_objects/projects.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/gl_objects/projects.py b/docs/gl_objects/projects.py index 54bde84..4412f22 100644 --- a/docs/gl_objects/projects.py +++ b/docs/gl_objects/projects.py @@ -400,6 +400,12 @@ pipeline = gl.project_pipelines.get(pipeline_id, project_id=1) pipeline = project.pipelines.get(pipeline_id) # end pipeline get +# pipeline create +pipeline = gl.project_pipelines.create({'project_id': 1, 'ref': 'master'}) +# or +pipeline = project.pipelines.create({'ref': 'master'}) +# end pipeline create + # pipeline retry pipeline.retry() # end pipeline retry |