Hi All,
I need some urgent help to the following issue:
I am starting a ruby command from a batch file using STAF.
STAF $TESTMACHINE process start command ruby
"C:\MyProject\scripts\MasterScript.rb" WAIT SAMECONSOLE RETURNSTDERR
RETURNSTDOUT WORKDIR "C:\MyProject\scripts"
This batch file is triggered by a Hudson job. But my observation is that the
print/puts of the ruby files appear in the hudson console only after the
completion of the execution of the ruby script [Hudson job]. This way I can not
make out if something is going wrong in the script execution unless the job
completes.
Also, I understand that if I remove RETURNSTDERR RETURNSTDOUT, the ruby
script's output is displayed in the STAF console on the target machine. So STAF
is the one which is sending back the ruby outputs to the hudson console.
Now can I use any option with STAF to get the ruby output spontaneously to the
hudson console?
Thanks for reading this lengthy question :)
Thanks
Sudhindra
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users