Jenkins as build , deploy machine and windows 7 as a selenium driver test slave machine

37 views
Skip to first unread message

Antonio Hernandez

unread,
Apr 12, 2016, 10:13:45 AM4/12/16
to Jenkins Users

Hi then,
I have an issue with my jenkins configuration, it's all set up as this:

Linux master machine compile, build and deploy all my source code in a tomcat countainer, works fine!

Windows 7 machine that i'm sending this:
-----------------------
cmd.exe
cd C:\Local_path\ Run_param.bat
-----------------------

and the "Run_param.bat" contains:
-----------------------
java -jar C:\Local_path\TC01_param.jar "http://localhost:8080" "localhost" 
-----------------------
After that, i can see in the output console:
-----------------------
Started InternetExplorerDriver server (32-bit)
2.48.0.0
Listening on port 3722
-----------------------

so it means that the jar file is found and it's also able to open the driver and starts the test but the windows machine is locked because all the tests are run at midnight.

¿How can i send the right configuration towards my windows 7 machine ?

Of course , the same command "java -jar C:\Local_path\TC01_param.jar" locally works fine

thanks in advance of any help



Antonio Hernandez

unread,
Apr 14, 2016, 6:16:18 AM4/14/16
to Jenkins Users
anybody faced with the same problem ??

Björn Pedersen

unread,
Apr 14, 2016, 7:46:12 AM4/14/16
to Jenkins Users


Am Dienstag, 12. April 2016 16:13:45 UTC+2 schrieb Antonio Hernandez:

Windows 7 machine that i'm sending this:
-----------------------
cmd.exe
cd C:\Local_path\ Run_param.bat
-----------------------

Really ? I would expect to use a Execute Windows Batch build step with something like:

cd C:\Local_path
call run_param.bat

Björn

Antonio Hernandez

unread,
Apr 14, 2016, 9:27:35 AM4/14/16
to Jenkins Users
Hi Björn,
thanks for your reply but the point is after called the .bat file , not the call itself. Please i'm stuck at this point and can't move on.

Any comment is welcome
Reply all
Reply to author
Forward
0 new messages