Skip to content

Commit

Permalink
Pipeline triggering examples with a request with pipeline variables (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
m0nt3cr1st0 authored Jul 28, 2023
1 parent f0eee78 commit 2d2e49d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/bitbucket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,9 @@ Pipelines management
# Trigger specific Pipeline on a specific revision of the master branch
r.pipelines.trigger(revision="<40-char hash>", name="style-check")
# Trigger specific Pipeline of the master branch with specific variables
r.pipelines.trigger(name="style-check", variables=[{ "key": "var-name", "value": "var-value" }])
# Get specific Pipeline by UUID
pl = r.pipelines.get("{7d6c327d-6336-4721-bfeb-c24caf25045c}")
Expand Down

0 comments on commit 2d2e49d

Please sign in to comment.