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
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
Please sign in to leave a comment.
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"
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.
Go to Build Configuration Settings, 3 Runner, set it to command line runner, and put that command in.
Hi Gregory
Look at Triggering a Build From Script page.
Michael
Hi Michael,
Thanks, that's what I was looking for.