Home
TeamCity Support | JetBrains
Contact Support
Community
Sign in
Tomasz Kisielewski
Total activity
11
Last activity
April 28, 2021 10:41
Member since
March 03, 2021 14:51
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
2
Activity overview
Posts (2)
Comments (7)
Sort by recent activity
Recent activity
Votes
Created
April 06, 2021 20:39
OK I figured out it, the proper POST query is: curl --silent --header "Authorization: Bearer xxx --header "Content-type: text/plain" POST https://xxx/app/rest/builds/1238827/vcsLabels?locator=vcsR...
Community
TeamCity General Topics
Disable/enable build feature via API
0 votes
Created
April 06, 2021 17:21
According to the REST API reference, the locator is optional however if required the above build 1238671 has the following vcsroot: "changes": {"href": "/app/rest/changes?locator=build:(id:1238671...
Community
TeamCity General Topics
Disable/enable build feature via API
0 votes
Edited
April 06, 2021 17:25
Hello Fedor, Now we're running on 2020.2.3 I've resigned from enabling/disabling feature during a build execution as it makes a lot of troubles. Decide to go with adding VCS label via API call but ...
Community
TeamCity General Topics
Disable/enable build feature via API
0 votes
Edited
March 05, 2021 10:39
As I mentioned we're running on 2020.1.1 but very soon will go to 2020.2.2 and there the VCS labeling has other mechanism/methods in API so let's focus on that version. https://www.jetbrains.com/he...
Community
TeamCity General Topics
Disable/enable build feature via API
0 votes
Edited
March 05, 2021 08:38
Thanks for the advice Fedor - it's quite an elegant workaround :) The PUT command which works well is curl -X PUT -d @vcs.disabled --header "Content-Type: application/json" --header "Accept: appli...
Community
TeamCity General Topics
Disable/enable build feature via API
0 votes
Created
March 04, 2021 12:41
I'm able to list my feature curl --silent --header "Authorization: Bearer xxxxxxxx" --header "Accept: application/json" -X GET https://myhost/app/rest/buildTypes/DevOps_Testing_Tks_VcsLabelingClou...
Community
TeamCity General Topics
Disable/enable build feature via API
0 votes
Created
March 04, 2021 12:30
I'm runing on 2020.1.1 and I'd like to use conditionally feature VCSlabeling. I know it can be setup after work (in the Action) but I'd like to give users an option (by prompt parameter). The param...
Community
TeamCity General Topics
Disable/enable build feature via API
0 votes