How to run buid from bash or python script

Hi All, Is there any ability to run buid of project from command line(bash) or python script, may be there is any API or something else?
The task is to run build and make a lot of deploy actions in some situations.
I'm talking about usual build not Personal Build

Platform CentOS release 5.5 x64
JDK HotSpot 1.6.0_24 x64
Teamcity Version 5.1.4

Thanks  in advance
5 comments
Comment actions Permalink

It's quite simple.
If you want to run /usr/me/directory/file.sh

command executable: sh
command parameters: -c "cd /usr/me/directory ; bash file.sh"

0
Comment actions Permalink

Thx, captain. But I talk about run build it Teamcity, the same thing what I do in web interface, not about run maven or ant from command line.

0
Comment actions Permalink

Go to Build Configuration Settings, 3 Runner, set it to command line runner, and put that command in.

0
Comment actions Permalink

Hi Michael,

Thanks, that's what I was looking for.

0

Please sign in to leave a comment.