Build Configurations created using REST API are removed shortly after

Hi,

We send POST requests to /app/rest/buildTypes to create two Build Configurations in an existing project. We then use a PUT to the parameters href of the first created Build Configuration so that we can set a parameter linking it to the second Build Configuration.

So the timeline is:

  1. POST to create Build 1
  2. POST to create Build 2
  3. PUT to set parameter on Build 1 to reference the id of Build 2

This all works fine and I can see the builds in the TeamCity UI.

The problem is that a few minutes later the new Build Configurations are no longer present. TeamCity has removed them.

I'm not sure if this is relevant but our _Root project has its Versioned Settings synchronized with a TFS VCS Root and all other projects are set to "Use settings from a parent project".

0
1 comment
Avatar
Permanently deleted user

Created YouTrack issue for this: https://youtrack.jetbrains.com/issue/TW-49019

 

0

Please sign in to leave a comment.