Drone web UI send less parameters to the drone server

When I want to use the drone web UI to test deployment to production, I found something error.

Docker image: drone/drone:latest

The following is the steps I try:

  1. Toggle the deploy button

  2. Fill up the box
    截圖 2020-12-13 下午8.54.27

  3. Finally, after I toggle the submit button, the request url didn’t contain the parameter value.

In the document link below said that we can use the custom parameter as the environment variables in the pipeline

Link: https://docs.drone.io/api/builds/build_promote/

I think the drone front-end missed the key-value pair parameter.

you need to click the “Add” button before you hit submit