Question #327513 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/327513

Description changed to:
*************** solution (from comment #3)

1.In my local system installed Jenkins 2.71 version, created one jenkins slave 
for the local system and launched it.
2.Created one jenkins job and restricted the job for the above created slave.
3. Gave .bat file location in the build step. (windows PC)
4. Script got executed.

-----------------------------------------------------------------------

I was able to run sikuli script from command line with the following command 
"C:\Program Files\Java\jre7\bin\java" -jar "D:\sikuli_folder\sikulix.jar" -r 
"C:\Users\akatrapati\Desktop\ex.sikuli"
but when I save this command in bat file and try to run .bat file in jenkins I 
am getting following error

C:\Program Files (x86)\Jenkins\jobs\convert123\workspace>"C:\Program Files 
(x86)\Jenkins\jre\bin\java" -jar "D:\sikuli_folder\sikulix.jar" -r 
"C:\Users\akatrapati\Desktop\ex.sikuli" 
[error] Location: outside any screen (16761144, 16761144) - subsequent actions 
might not work as expected
[error] Location: outside any screen (16761144, 16761144) - subsequent actions 
might not work as expected
Program started
[error] script [ C:\Users\akatrapati\Desktop\ex.sikuli ] stopped with error in 
line 4
[error] FindFailed ( can not find 1470117814180.png in R[0,0 1024x768]@S(0) )
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE

Can anyone help me in solving this problem. Jenkins version is 1.625.2

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to