Creating build with custom parameters

Hello,

Per this post: https://docs.drone.io/api/builds/build_create/

* Create a build with custom parameters. These parameters will be available to your pipeline steps as environment variables.

POST /api/repos/{namespace}/{name}/builds?branch={branch}&{key=value}

It’s possible to assign custom parameters, but it will be available to use these vars on drone templates?

For example:

POST /api/repos/{namespace}/{name}/builds?test_env=123

steps:
- name: deploy
  pull: always
  image: test/test
  settings:
    hostname:
      from_secret: gravitee_${TEST_ENV}_hostname

Uhm. I got what I was doing wrong. It’s case sensitive haha.

Ref.

Thankss