Forum Discussion
sohailalam
Oct 23, 2023Copper Contributor
Running remote commands in server
I have TestComplete in my Server name: TestServer and I would like Teamcity to run the TestComplete Projects which is in Server: TestServer. I did some research and found Invoke-Command -ComputerName...
- Oct 23, 2023If you want to let Teamcity run a command on testserver, you must run it on the Teamcity server. You can't do a invoke-command in a scriptblock already running on a different server.
It's difficult to get the complete picture of the work flow that you're trying to achieve 🙂
Oct 23, 2023
Could you elaborate more about: "I have TestComplete in my Server name: TestServer, and I would like Teamcity to run the TestComplete Projects" What is TeamCity TestComplete exactly? How would you usually start that? That's the thing you insert in the scriptblock part.
sohailalam
Oct 23, 2023Copper Contributor
So, ok Team city is an Integration Tool and whenever a build kicks off in Teamcity we want TestComplete (Testing tool which is in server: TestServer) to run the project for us which we created in Test Complete. TestComplete is installed in the server TestServer.
Thanks. I am sorry for confusion
Thanks. I am sorry for confusion
- Oct 23, 2023Ok, but can you start it using one command-line?
- sohailalamOct 23, 2023Copper Contributoryes
- Oct 23, 2023Then you can add that between the brackets, let me know how it goes 🙂