Changes and copying buildtypes

Hi,

I copied some buildtypes and to my amazement it seems there are no changes associated to the new buildtypes. A link like the following yields zero results: /httpAuth/app/rest/changes?buildType=id:bt123. As the attached vcsRoot is the same I assumed previously collected changes would be available for the new buildtypes as wel (for running a custom build for instance). Is this expected behaviour? We run TeamCity Enterprise 6.5.5 (build 18087)

Thanks, Bas

4 comments
Comment actions Permalink

Are you sure you did not copy VCS root as well? If both build types share the same VCS root you should see changes, otherwise, if new VCS root is created in cloned build configuration, you won't be able to see old changes there.

0
Comment actions Permalink

I clicked "Copy" in "Edit Configuration Settings" which only allows me to specify "Copy to project" and "New configuration name". I assume that will not copy the vcsroot?

Bas

0
Comment actions Permalink

Ok, sorry for confusion, I just double checked, and it seems you are right, old changes won't appear in the new build configuration even if you have the same VCS root. We've done this intentionally, because usually, there is no need to see them. What is your use case? Why do you need these changes?

0
Comment actions Permalink

Im the guy who is working on an app that allows us to run very high level integration tests on arbitrary revisions (we had some previous discussions :)) The absence of changes means my app cant request the builds it needs to run those tests. (I already voted for allowing requesting builds at arbitrary revisions)

Bas

0

Please sign in to leave a comment.