Yes you can go to the TeamCity Agent Dir then into bin , you should find a file called agent.bat run this command from the command line like this "agent.bat start" this will start a process rather than a service
Im a little uncertain how this would work tho. If i kick off the bat file from TeamCity, wouldnt it already be using the Windows Service Agent? ie: how do i say for project x use build agent .bat-man when the project is triggered.
You can stop the service if you want to , but why would you make teamcity build configuration run the .bat file it will not be able to because it need a agent running on the machine in order to do anything at all.
Hi
Yes you can go to the TeamCity Agent Dir then into bin , you should find a file called agent.bat run this command from the command line like this "agent.bat start" this will start a process rather than a service
Pod
Thank you Pardeep.
Im a little uncertain how this would work tho. If i kick off the bat file from TeamCity, wouldnt it already be using the Windows Service Agent? ie: how do i say for project x use build agent .bat-man when the project is triggered.
:-)
Hi
I'm not sure what you are trying to do ?
You can stop the service if you want to , but why would you make teamcity build configuration run the .bat file it will not be able to because it need a agent running on the machine in order to do anything at all.
Pardeep
Ohh, i think i was not being clear. I THINK i understand now.
ie:
1.) Stop the Windows Service
2.) Run the bat file on System Startup to ensure there is an agent running
??
Then my tests will use the agent running outside of the Windows Service? Is that correct?
Thanks again Pardeep
Correct.
If you're going to perform automated UI testing then make sure that screen saver is disabled - locked desktop may break the tests.
Awesome thanks a lot :-)