Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,619
Community Members
 
Community Events
165
Community Groups

Pipe to trigger a pipeline documentation seems to be inconsistent.

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

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
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,158 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you