how to deploy after build
Hi all
I have setup the teamcity on the server, after a successful build, I would like to deploy the website to another server. I see lots of post discuss this topic, but i still can not figure it out
right now I create the master build and upload the artifacts to the teamcity sever and create another dependent build to get the artifact after the master build run successfully, but I still don't know how to copy the artifacts to another server in the dependent build?
dose anyone can give me some detail infomation?
Thanks a lot
Phil
Please sign in to leave a comment.
which version of TC are u using?
I am not sure if my solution could be right.. It worked for me.. Did you try to explore the command line option available in the build runner? you might have to create a script having the related copy commands and create a build conf with the respective copy script. This build conf tcan be used while deployment.
Build runner: Command line (selected from the list of dropdowns)
Working directory: Nil
Command executable: ./echo.sh
Save and execute.
Hi Gangadharan,
Thanks a lot for your advice.
could you give me more detail info about how to create the script.
also i cannot find "Build runner: Command line (selected from the list of dropdowns)"
Thanks again
Phil
ok, Finally i use Nant to implement this function.
Thanks again Gangadharan, give me the good advice
Phil
hi phil,
could you please let me know the version that u are using.. I have tested with the command line feature available in the TC version 4.5.5
Hi Gangadharan
I use Nant 8.5 and create a build file to implement this function. I think there is some issue with Nant 8.6.
Thanks
Phil