hi,I have ever met the same problem. Here is my solution. It's simple and include 2step:
1 in autoIT script add some ConsoleWrite("1.begin run the a.exe" & @CRLF)
2 covert you autoit script test.au3 to test.exe file with console mode
3 in jenkins batch command direct call test.exe
when you run the jenkins job. All the log will be print. like "1.begin run the a.exe"
if met some problem the log can not print to end.
The drawback of this method is you still can not get the detail error infomation