Jenkins runs batch file forever

Asked by Monika

I received another strange behaviour, jenkins tries to run the sikuli script via the batch file. I did like masuo said, i made a batch file with this:

ECHO OFF
ECHO %time%
call "C:\Users\Monica Srdic\Desktop\sikulixTest\sikulix.jar" -r "C:\Users\Monica Srdic\Desktop\sikulixTest\stringTest.sikuli\stringTest.py"
ECHO %time%
ECHO done
PAUSE

and I wrote this command in jenkins to execute the task which contains the batch file:
test.bat

But jenkins runs infinitely, did i miss something?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
masuo (masuo-ohara) said :
#1

Why did you use "call" , "sikulix.jar" , "stringTest.py"?

How to run SikuliX from Command Line
http://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html

So batch file should be like this.
"C:\Users\Monica Srdic\Desktop\sikulixTest\runsikulix.cmd" -r "C:\Users\Monica Srdic\Desktop\sikulixTest\stringTest.sikuli"

Why did you use "PAUSE" ?

Can you help with this problem?

Provide an answer of your own, or ask Monika for more information if necessary.

To post a message you must log in.