git - Teamcity how to recreate foulder structure -


i need hint of how recreate current folder structure on teamcity (and if it's possible or not).

project folder - machine_app_1 - //repo1 - machine_app_2 - //repo2 - common_code   - //repo3 - ...various common files... 

so, have folder 3 repositories inside , sparse files inside it. need recreate structure since machine_app code needs common code build (and builder between "various common files", need them too).

should use artifacts? , should place them? or should edit checkout folder? should put files directly.. where? i'm bit confused of way of working of teamcity , cannot make work.

i've tried creating shell script reorders files it's mess way, because foulder structure not easy , keep having lot of locking problems.

thanks :)

as trying place source code files in correct folder structure rather compiled binaries correct answer use checkout rules vcs checkout roots rather artifacts.

to achieve attach vcs root each of 3 repositories build configuration , each 1 define checkout rules place files need be. instance, move files repository 1 folder called machine_app_1 define rule this:

vcs checkout rule example

this simple example , if necessary can create rules more complicated. full details, best resource teamcity documentation


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -