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

Commit2da83e6

Browse files
author
Vitali Ulantsau
committed
docs(pipelines_and_jobs): add pipeline custom variables usage example
1 parentfddc25a commit2da83e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎docs/gl_objects/pipelines_and_jobs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ Get variables of a pipeline::
3333

3434
variables = pipeline.variables.list()
3535

36-
Create a pipeline for a particular reference::
36+
Create a pipeline for a particular reference with custom variables::
3737

38-
pipeline = project.pipelines.create({'ref': 'master'})
38+
pipeline = project.pipelines.create({'ref': 'master', "variables": [{"key": "MY_VARIABLE", "value": "hello"}]})
3939

4040
Retry the failed builds for a pipeline::
4141

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp