-2

I have installed Jenkins on a Windows 10 machine.

On another VM I have Eclipse with a selenium project with scripts that open the browser and do all the tests. I have a mental block, I can't figure out how to connect these two. The second VM is a Windows Server machine. I have scripts grouped into test suites that I run, by running a java class producing reports(the logs, basically). I want to use Jenkins to trigger them. I am going through tutorials but I can't follow them because they quickly start talking about Docker.

I want to use Jenkins to trigger the scripts in the second VM to run. Is this at all possible?

3
  • What have you done so far? What kind of scripts? Could you also provide more info about the second VM?
    – Prome
    May 26 at 7:13
  • On a Windows VM I have installed Jenkins. On another VM I have Eclipse with a selenium project with scripts that open the browser and do all the tests. I have a mental block, I can't figure out how to connect these two. The second VM is a Windows Server machine. I have scripts grouped into test suites that I run, by running a java class producing reports(the logs, basically). But, I don't want to do this anymore. I want to use Jenkins to trigger them. I am going through tutorials but I can't follow them because they quickly start talking about Docker.
    – Ravi Teja
    May 26 at 12:29
  • The very short answer is that yes, it is possible. The easiest way would be to create a batch file on your second VM that runs the scripts from command line. Then create a Jenkins task to run the batch file. I believe it is also possible for Jenkins to invoke a task directly using Eclipse, but I don't know how to do this.
    – Kate Paulk
    May 26 at 13:00

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.