Loading docs/gl_objects/pipelines_and_jobs.rst +2 −2 Original line number Diff line number Diff line Loading @@ -33,9 +33,9 @@ Get variables of a pipeline:: variables = pipeline.variables.list() Create a pipeline for a particular reference:: Create a pipeline for a particular reference with custom variables:: pipeline = project.pipelines.create({'ref': 'master'}) pipeline = project.pipelines.create({'ref': 'master', 'variables': [{'key': 'MY_VARIABLE', 'value': 'hello'}]}) Retry the failed builds for a pipeline:: Loading Loading
docs/gl_objects/pipelines_and_jobs.rst +2 −2 Original line number Diff line number Diff line Loading @@ -33,9 +33,9 @@ Get variables of a pipeline:: variables = pipeline.variables.list() Create a pipeline for a particular reference:: Create a pipeline for a particular reference with custom variables:: pipeline = project.pipelines.create({'ref': 'master'}) pipeline = project.pipelines.create({'ref': 'master', 'variables': [{'key': 'MY_VARIABLE', 'value': 'hello'}]}) Retry the failed builds for a pipeline:: Loading