radhaa
January 2, 2020, 2:54am
1
Hello Team,
Could you pls tell us how to create a dropdown options for a build for user input values.
I referred the below url and tried like the below code in bitrise.yml. It’s not working.
You could be able to specify “build templates” in the bitrise.yml, and then “build a template” both with CLI in local and on bitrise.io
“Build a template” would look like this: the inputs defined in the template have to be provided manually (in the CLI it’d ask for those in the Terminal/Command Line, on bitrise.io it’d present a popup with the inputs) then the build would run exactly the same as a normal build.
An example for a very minimal version number based release:
workflows:
create-re…
primary:
before_run:
envs:
- RELEASE_TYPE:
opts:
is_required: true
title: Type of release
value_options:
- dev
- uat
- preprod
steps:
1 Like
bitce
January 3, 2020, 11:51am
2
Hi @radhaa !
Unfortunately customizing the UI to this extent through the .yml is not an option at the moment. The thread you are referencing here is an idea / #feature-request , not the current behaviour of the website.
Note: value_options
works on step input level, but not on (workflow, app, …) env vars level.
I’d suggest you to open a #feature-request for this @radhaa , or to vote on my #feature-request ( Build / Release templates - specify inputs the user have to provide before starting the build ).
system
Closed
February 6, 2020, 5:46pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.