Build Parameters

How to get build parameters ( BUILD_PIPELINE_NAME/BUILD_JOB_NAME/BUILD_TEAM_NAME … and more) in a task?
These are available in GET and PUT step, but I want them in the TASK step.

Thanks