I want to receive multiple options as parameters in Bitbucket Pipeline.
When using a monorepo, it would be great if I could have an input field to select from the apps I specify.
For example, it would be ideal if I could select the desired app, branch, and environment.
However, currently, only an input box is supported, not a select box.
This is the UI, and I would like to receive it as variables.
Is there a way to solve this?
Hi @Ben ,
I solved the issue using the "variables > allowed-values" attribute.
It wasn’t in the documentation, so I didn’t know about it until I saw it in the community.
Since I’m using a monorepo, I wanted to be able to select and deploy a specific app from the repository. I also added the environment variables to the Pipeline selection process for better flexibility.
Thanks Ben!
Hi @고 동하
I'm trying to understand your request - when you state "desired app" are you referring to being able to select a custom deployment environment from a dropdown?
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.