RE: Advice requested: bash vs python scripts in Jenkins

2012-11-23 Thread David Aldrich
Hi Mark and Clem Thanks very much for your replies. They were both very helpful. Best regards David

Re: Advice requested: bash vs python scripts in Jenkins

2012-11-23 Thread Mark Waite
Yes, that technique will work, and switching to Python then opens you to the opportunity to write your tests in C or in Python using the Python ctypes library, and would allow you to use either "py.test" or "nose" to automatically discover, execute, and parallelize your tests. Using that techni

RE: Advice requested: bash vs python scripts in Jenkins

2012-11-23 Thread David Aldrich
Thanks Clem, Best regards David

Re: Advice requested: bash vs python scripts in Jenkins

2012-11-23 Thread clem
Just to make sure that there is no misunderstanding there are no # at my python line :) Greetings

Re: Advice requested: bash vs python scripts in Jenkins

2012-11-23 Thread clem
Hi, yes you are correct. Im running my python scripts like this : #python "location/file.py" parameter paramerter# in a "Execute Window Batch command" You can catch error messages in your python script with : sys.exit('Your Error Code'); For example : if re.match(---) do this else: sys.e