What is this feature used for: Paramater?

What is this feature used for? I have been working with drone for a bit, & I’ve never used this feature, nor I could find any info on this on drone website.


Parameters are injected into your pipeline steps as environment variables.

Could you give example/use cases of how this feature would be helpful & how it would be used?

example: someone wants to promote their build to a test environment and (let’s say they are using Vercel) the test environment uses a randomly generated url. You can use the parameter section to provide the promotion pipeline with the randomly generated URL.