Infosys interview question

How you will do the deployment for different environment using Jenkins pipeline.