8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 101ccd1 + ea1eefe commit 5af0b52Copy full SHA for 5af0b52
docs/gl_objects/builds.rst
@@ -94,6 +94,16 @@ Full example with wait for finish::
94
pipeline.refresh()
95
time.sleep(1)
96
97
+You can trigger a pipeline using token authentication instead of user
98
+authentication. To do so create an anonymous Gitlab instance and use lazy
99
+objects to get the associated project::
100
+
101
+ gl = gitlab.Gitlab(URL) # no authentication
102
+ project = gl.projects.get(project_id, lazy=True) # no API call
103
+ project.trigger_pipeline('master', trigger_token)
104
105
+Reference: https://docs.gitlab.com/ee/ci/triggers/#trigger-token
106
107
Pipeline schedule
108
=================
109
0 commit comments