Importing the batch file
You need to import the newly-generated batch file into the Jenkins master machine so that it is able to monitor and control its jobs related to executing test modules.
On the Jenkins dashboard, select New Job .
Enter a Job name and select a project category.
Click OK.
The Config page appears.
In the Build section, clickAdd build step.
In the drop-down list, select Execute Windows batch command.
Enter the path to the batch file in the Command text box.
Note:The batch file must be stored on the Jenkins master machine. You must copy the generated batch files on the Jenkins slave machines and paste them into the Jenkins master machine.In the Post-Build Actions section, click Add post-build action.
In the drop-down list, select Publish JUnit test result report.
Enter *.xml into the Test report XMLs text box to specify that all XML files related to executing test modules are to be selected.
Click Save.