We have a custom deployment application just like the jenkins written in java , we will used it to push new codes into the Test server. and we have our TestNg automation running on another remote machine .now its run by a scheduled task on windows machine.this task will trigger a bat file , which will execute the TestNg script.
How can i call the bat file used for running the TestNg script from the custom deployment application ?
how this can be archived using Java or node js