jenkin sikuli integration

Asked by Dwarika

hi
   sikuli script is stopped in midway while running from jenkin. please find the log below. Any suggestion please

c:\Program Files (x86)\Sikuli X>Sikuli-IDE.bat -r C:\SQL_Testcases\1ihdid.sikuli
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE

But when i run the same command manually using command line it works fine as below

c:\Program Files (x86)\Sikuli X>Sikuli-IDE.bat -r C:\SQL_Testcases\1ihdid.sikul
i
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
[log] RIGHT CLICK on (38,247)

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
Dwarika (m-dwarika89) said :
#1

Can you please help me to resolve above isssue..

Revision history for this message
masuo (masuo-ohara) said :
#2

It may be able to run through the task scheduler .
Dwarika's environment is different from my environment , So it may not work.
[my environment:]
PC: Windows7
Sikuli: SikuliX 1.1.0

In my case , the following error has occurred .
[error] Location: outside any screen (14697792, 14697792) - subsequent actions might not work as expected

Then I run a script through the task scheduler , I was sure that it works .

[task scheduler setting:]
Give an appropriate name to the batch file , to register the task .
  For example , I named abc to the task .

[Jenkins setteing:]
Register the schtasks command as the build procedure .
  schtasks /run /tn abc

Revision history for this message
Dwarika (m-dwarika89) said :
#3

Could you please elaborate what shall i do ???

Can you help with this problem?

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

To post a message you must log in.