| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fddc25a commit b275eb0
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,9 +33,9 @@ Get variables of a pipeline:: | |||
| 33 | 33 | ||
| 34 | 34 | variables = pipeline.variables.list() | |
| 35 | 35 | ||
| 36 | - Create a pipeline for a particular reference:: | ||
| 36 | + Create a pipeline for a particular reference with custom variables:: | ||
| 37 | 37 | ||
| 38 | - pipeline = project.pipelines.create({'ref': 'master'}) | ||
| 38 | + pipeline = project.pipelines.create({'ref': 'master', 'variables': [{'key': 'MY_VARIABLE', 'value': 'hello'}]}) | ||
| 39 | 39 | ||
| 40 | 40 | Retry the failed builds for a pipeline:: | |
| 41 | 41 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments