jenkins pipeline batch commands

How to run Batch Scripts/Commands in Jenkinsfile

In this post we will be seeing how one can run Batch Scripts and commands in Jenkins using Jenkinsfile.