Hi,
I cloned our main project three times and although I added the missing variable to each clone it seems that the variable of the main project is used buring build.
In the main project the variable “VersionBuild” is to “$Repository.MyMainRepsitoryName.LatestChangesetId$”. I added the variable “VersionBuild” to the clone and set it to “$Repository.MyOtherRepositoryName.LatestChangesetId$”. If I run the cloned project “VersionBuild” is resolved to “$Repository.MyMainRepsitoryName.LatestChangesetId$”.
I checked the database table core_variablenamespace and found out that the parent namespace for the cloned projects is the main project’s namespace. I believe it should be the application’s variable namespace because it is a cloned project and not some kind of subproject. Additionally I think the variables should be included in the clone.
Regards
Kay Zumbusch
Hi again,
I did some research in our Continua CI database and found out that the variable namespaces of cloned projects are not linked correctly. The parent namespace of the configuration of the cloned project is the namespace of the template project and not the namespace of the cloned project. I managed to work around that problem by updating the parent namespace field in the database.
Regards
Kay Zumbusch
Hi Kay, thank you very much for letting us know about this one. We have identified the issue and are working to get this one into the next release.
Thanks again.