gitness
gitness copied to clipboard
Params are empty when branch is empty
When - When you do not set any branch in the Create Build Option but set params
Issue - params in the build context is empty when you want to go with default branch of your repo but want to use some params
Reproduce - Set a parameter value like test : 2
and trigger the build. Log ctx.build.params
which will be empty
I'm seeing that as well on Drone 2.12.1. Creating a build ("+ CREATE" button) with parameters (I did click the "add" button) results in no parameters passed if you keep the "branch" field empty. Once you fill it in, the parameters work. I'm checking by running env
command in the step.