Teamcity web ui commits extra changes.

I'm noticing that teamcity sometimes adds extra changes. This is frustrating.

Examples.
Commit 1:
```
.teamcity/patches/projects/_Self.kts // intentional
 update {
            password("env.key, "credentialsJSON:value", display = ParameterDisplay.HIDDEN)
        }

.teamcity/patches/vcsRoots/vcsName.kts //Not intentional
create(DslContext.projectId, GitVcsRoot({
    id("vcsName")
...
}))
This caused an id collision, that vcs root already existed.
```

 

Commit2:
```
.teamcity/patches/buildTypes/RelativeId.kts
changeBuildType(RelativeId("RelativeId")) {
    params {
        expect {
            password("password_key", "credentialsJSON:password_value1", display = ParameterDisplay.HIDDEN)
        }
        update {
            password("password_key", "credentialsJSON:password_value2", display = ParameterDisplay.HIDDEN)
        }
        add {
            param("key", "val") 
        }
    }
}
```
param("key", "val") was intentional. I don't know why the password was changed.

1
1 comment

It looks like the vcs commit was on our end. We had manually added a vcs root patch to the code base, and the RelativeID didn't match the filename. So teamcity was creating a duplicate vcs root with a different name.

0

Please sign in to leave a comment.