Forum Discussion
mmkumaram
14 years agoOccasional Contributor
Mark,
I was referring to starting the Teamcity agent services manually from command prompt, Usually when you install teamcity agent on a test machine, it installs a Build Agent(mandatory) and Windows service(optional). Once the agent is installed, you need to start the service in order to interact with the server, the Agent can can started either through windows services or manually from command prompt.
Follow the below steps to start agent from command prompt rather than from windows service.
1. If you have selected Windows Service while installing teamcity agent, Stop/disable the Teamcity service from windows services
2. Open Command prompt(run as administrator on windows vista/7)
3. Change directory to teamcity install folder(by default it would be c:\BuildAgent).
4. Change directory to C:\BuildAgent\bin folder.
5. Run Agent.bat file with a parameter start.(eg:C:\BuildAgent\bin\>agent.bat start)
6. Teamcity agent service should start.
Thanks,
Muthu
I was referring to starting the Teamcity agent services manually from command prompt, Usually when you install teamcity agent on a test machine, it installs a Build Agent(mandatory) and Windows service(optional). Once the agent is installed, you need to start the service in order to interact with the server, the Agent can can started either through windows services or manually from command prompt.
Follow the below steps to start agent from command prompt rather than from windows service.
1. If you have selected Windows Service while installing teamcity agent, Stop/disable the Teamcity service from windows services
2. Open Command prompt(run as administrator on windows vista/7)
3. Change directory to teamcity install folder(by default it would be c:\BuildAgent).
4. Change directory to C:\BuildAgent\bin folder.
5. Run Agent.bat file with a parameter start.(eg:C:\BuildAgent\bin\>agent.bat start)
6. Teamcity agent service should start.
Thanks,
Muthu
Related Content
- 4 years ago
- 8 years ago
- 9 years ago
- 14 years ago
Recent Discussions
- 4 days ago
- 4 days ago