v.1.1
Provides connection between Hygiea API and teamcity
- web-hook plugin installed on teamcity
- configure web-hook for build or build group(projects) in way like:
- URL: url to connector
- Enabled: true
- Payload Format: Legacy Webhook (JSON)
- Trigger on event:
- Build Interrupted
- On Completion:
- Trigger when build is Succesfull
- Trigger when build Fails
HYGIEIA_API_URL
: ex. http://host:port/apiTEAMCITY_HOST
: ex. "192.168.100.101" or "teamcity.corp" etc...TEAMCITY_USER
: ex. "admin"TEAMCITY_PASSWORD
: ex. "securepassword"
docker run \
-e "TEAMCITY_HOST=192.168.100.101" \
-e "TEAMCITY_USER=administrator" \
-e "TEAMCITY_PASSWORD=securepassword" \
-e "HYGIEIA_API_URL=http://hygieia-api:8080/api" \
-p 8080:80 \
--name "hygieia-teamcity-collector" \
alexeyanikanov/hygieia_teamcity_collector:latest
hygieia-teamcity-collector:
image: alexeyanikanov/hygieia_teamcity_collector:latest
container_name: hygieia-teamcity
links:
- hygieia-api
ports:
- "8090:80"
environment:
- TEAMCITY_HOST=192.168.100.101
- TEAMCITY_USER=administrator
- TEAMCITY_PASSWORD=securepassword
- HYGIEIA_API_URL=http://hygieia-api:8080/api