Mahesh Krishnan P
Mahesh Krishnan P

Reputation: 21

Triggering a script in windows system from Jenkins in Linux server

I have a java program in a windows system and I need Jenkins job from my company Linux server to trigger the java program in windows machine.

The Java project is automation script built in selenium and can be converted to JAR file to invoke using Java -jar command.

But I am confused how to trigger jenkins job from Linux server to execute the Jar file in windows machine. Can someone tried this help me on this scenario?

Upvotes: 2

Views: 1384

Answers (1)

Ankit Gupta
Ankit Gupta

Reputation: 786

You need to create master-slave in Jenkin.

Master would be your linux server Jenkin and configure as slave your window machine because your suite gonna run on WIndow machine.

Upvotes: 1

Related Questions