How to deploy TeamCity artifacts to an Amazon EC2 server

We decided to use the AMAZON AWS ​​cloud services to host our main application and other tools. Basically, we have such an architecture.

  • TESTSERVER : An instance of EC2 in which our main application is deployed. Testers have access to the application.
  • SVNSERVER : The EC2 instance that contains our Subversion and repository.
  • CISERVER : An EC2 instance that is installed by JetBrains TeamCity and configured.

Now I need CISERVER to check the codes from SVNSERVER, build, if the assembly is successful, unit test it, and after passing all the tests, the artifacts of the successful assembly should be deployed to TESTSERVER.

I completed the CISERVER setup to pull the code, build, test, and produce artifacts. But I could not control the deployment of artifacts in TESTSERVER.

Do you have any suggestion or procedure for this? Thanks for the help.

PS: I read this Question and am not satisfied.

+3
source share
2 answers

, , QA script, , , . ( ), , , , . script, . URL- - , script wget ( Windows) .

, cron ( Windows) script. , . , , - , .

, , , -, ( ), , , - , . . , , - - ? , .

+1

. TeamCity .

: , TeamCity FTP:

http://youtrack.jetbrains.net/issue/TW-1558#comment=27-1967

  • ,
  • , FTP
  • TeamCity 2 1
  • 2 , 1. , 1 2 FTP-.

- TeamCity 1, FTP.

, ,

+3

Source: https://habr.com/ru/post/1796070/


All Articles