Load Project Settings from VCS... via REST api?

We're storing our project settings in the Kotlin format in VCS, but making a change to the project settings requires submitting the changes to VCS, and manaully applying the changes in the project UI. Is it possible to trigger an update the project settings via a REST api? (for us, we would use our VCS's trigger functionality to request the update).

0
1 comment

Hello,

If you are using Project settings in Version Control and have the synchronization on, it should work automatically without needing to press a button or take any action (like triggering the update).
If the synchronization is on, the expected behavior is the following (as per our documentation:  Synchronizing Settings with VCS) :
  • Each administrative change made to the project settings in the TeamCity UI is committed to the version control system; the changes are made noting the TeamCity user as the committer.
  • If the settings change is committed to the VCS, the TeamCity server will detect them and apply them to the project on the fly.
  • If the settings are invalid, the current settings are left intact and an error is shown in the UI.
In the case that this is not happening, it might be that there is some issue that we can help you solve.
 
Please let us know if this works for you or if you need further help.
 
Thank you,
 
Guilherme
0

Please sign in to leave a comment.