Configuration sample
GoogleCodeExporter opened this issue · 9 comments
GoogleCodeExporter commented
I have installed this plugin in teamcity but i can not find any
document which helps me to configure the python runner to
Compile my application with python classes which is
Created with visual studio 2012.
I am a very beginner in python and teamcity.
Original issue reported on code.google.com by mahsaizadi
on 15 Feb 2013 at 7:26
GoogleCodeExporter commented
Hmm, the plugin usage is pretty easy. Just choose Python runner when you're
preparing a build configuration. TeamCity shows a set of settings that are
pretty simple... or not?
Which kind of python do you use? (classic python, iron python)
Original comment by leonidos
on 27 Feb 2013 at 11:30
- Added labels: Type-Question
- Removed labels: Type-Defect
GoogleCodeExporter commented
I threw the python.zip file into the plugins folder, "Python" isn't one of the
options when configuring a new build in TC. I also tried unzipped the
python.zip file and restarting the TC server, same deal.
Can you write up a simply how-to document to use this plugin? Is it really as
simply as copy/pasting the zip file, that's it? Then "Python" should show up as
an option for the Runner Type in TC?
Original comment by deniz.oz...@gmail.com
on 26 Aug 2013 at 8:58
GoogleCodeExporter commented
Could you please send me the build log?
Original comment by leonidos
on 28 Aug 2013 at 7:50
GoogleCodeExporter commented
And please, attach a screenshot of the build step configuration page.
Original comment by leonidos
on 28 Aug 2013 at 7:51
GoogleCodeExporter commented
Sure, attached! Thanks for any help you might provide!
Original comment by deniz.oz...@gmail.com
on 28 Aug 2013 at 8:02
Attachments:
GoogleCodeExporter commented
Any clue as to what I'm doing wrong?
I tried copy/pasting the source code of the Python script itself into the Build
Configuration, didn't work either.
Original comment by deniz.oz...@gmail.com
on 29 Aug 2013 at 7:52
GoogleCodeExporter commented
Hello Deniz,
In order to use this plugin, just download the latest version, rename it to a
'.zip' (just removing the version suffix), and put it into .BuildServer/plugins
folder. Don't unzip it. Then restart TeamCity server.
When server restarted, you can see the 'Python' runner in list of runners.
If all this doesn't work - please provide me with the 'teamcity-server.log'
file (covering TC server startup), I'll try to investigate the problem.
Original comment by leonidos
on 26 Aug 2013 at 10:21
GoogleCodeExporter commented
Thank you for the speedy response, turns out I was using the wrong
<TeamCity_data_dir>.
Original comment by deniz.oz...@gmail.com
on 28 Aug 2013 at 7:04
GoogleCodeExporter commented
I'm still having trouble actually. How do I configure the Python runner to run
a given Python script?
I'm using Classic Python, I set the Working Directory as the directory my
script is in, I set the script to "File" and given it the file name. No
command line parameters, and I copy/pasted the PYTHONPATH value into the
"Import Modules Path" field. Anything else I need to do to run my script?
When I execute the TC build, it comes back with "Success - Runtime: 1s", but
nothing happens. When I execute the script on from my machine's command line,
it runs just fine.
Original comment by deniz.oz...@gmail.com
on 28 Aug 2013 at 7:39