docker pull jetbrains/teamcity-server
~/teamcity_server/datadir
~/teamcity/logs
~/teamcity_agent
docker run -it --name teamcity-server-instance \
-v ~/teamcity_server/datadir:/data/teamcity_server/datadir \
-v ~/teamcity/logs:/opt/teamcity/logs \
-p 8111:8111 \
jetbrains/teamcity-server
- перейти на вкладку агенты и скачать zip в директорию ~/teamcity_agent
- распаковать архив в директриии ~/teamcity_agent командой
unzip -d buildAgent buildAgent.zip
- скопировать файл
cp ~/teamcity_agent/buildAgent/conf/buildAgent.dist.properties ~/teamcity_agent/buildAgent/conf/buildAgent.properties
- запустить агента
sh ~/teamcity_agent/buildAgent/bin/agent.sh start
- На сервере перейти
Agents -> Unauthorized -> Выбрать агента -> Нажать Authorize
Так же Maven репозиторий агента располагается по пути //TODO: ....