Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pipe to trigger a pipeline documentation seems to be inconsistent.

Richard Quadling
Contributor
June 9, 2022

https://bitbucket.org/atlassian/trigger-pipeline/src/master/ says that the type for wait and debug are boolean.

And when I use a boolean in my pipeline, the error reports I've done exactly as requested, but that it is also wrong.

There is an error in your bitbucket-pipelines.yml at [pipelines > branches > master > 1 > step > script > 0 > variables > WAIT]. To be precise: This value should be a string (it is currently defined as a boolean).

So, for example, if I want to use OIDC, I say

oidc: true

So, I've got 

WAIT: true
DEBUG: true

 for the 2 booleans.

I'll be testing to see if these need to be strings to work. But either way, the documentation is wrong as the error reported for doing it the way the documentation says to do it is reported perfectly as the problem!

1 answer

0 votes
Richard Quadling
Contributor
June 9, 2022

Quoting 'true'/'false' worked, but then that's just a string.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Upcoming Bitbucket Events