Create or update the Teamcity integration
PUT
/api/v4/projects/{id}/integrations/teamcity
Creates or updates the Teamcity integration.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
enable_ssl_verification
Enable SSL verification. Defaults to true (enabled).
boolean
teamcity_url
required
TeamCity root URL (for example, https://teamcity.example.com).
string
build_type
required
The build configuration ID of the TeamCity project.
string
username
required
A user with permissions to trigger a manual build.
string
password
required
The password of the user.
string
push_events
Trigger event for pushes to the repository.
boolean
merge_requests_events
Trigger event when a merge request is created, updated, or merged.
boolean
use_inherited_settings
Indicates whether to inherit the default settings. Defaults to false.
boolean
Example generated
{ "enable_ssl_verification": true, "teamcity_url": "example", "build_type": "example", "username": "example", "password": "example", "push_events": true, "merge_requests_events": true, "use_inherited_settings": true}Responses
Section titled “ Responses ”OK
Media type application/json
object
id
integer format: int64
title
string
slug
string
created_at
string format: date-time
updated_at
string format: date-time
active
boolean
commit_events
boolean
push_events
boolean
issues_events
boolean
incident_events
boolean
alert_events
boolean
confidential_issues_events
boolean
merge_requests_events
boolean
tag_push_events
boolean
deployment_events
boolean
note_events
boolean
confidential_note_events
boolean
pipeline_events
boolean
wiki_page_events
boolean
job_events
boolean
comment_on_event_enabled
boolean
inherited
boolean
vulnerability_events
boolean
Example
{ "id": 75, "title": "Jenkins CI", "slug": "jenkins", "created_at": "2019-11-20T11:20:25.297Z", "updated_at": "2019-11-20T12:24:37.498Z"}Bad request
Unauthorized
Not found
Unprocessable entity