I recently added some JS files to my web project: WebProject.csproj
I have a CI definition in TeamCity to use MSBuild to create a solution with the following command line options:
/p:OutDir=%teamcity.build.workingDir%\ReleaseBuild\;Configuration=Release;UseWPP_CopyWebApplication=True;PipelineDependsOnBuild=False
That way, I can easily complete the deployment at a later stage if necessary for other build definitions.
However, some of the latest js files that I added fail in MSBuild because they cannot copy pipline because they do not exist in the folder in which they exist inside git ...
I have a "Clear All Files Before Build", as shown in the TeamCity log below:
[20:27:33]Updating sources: server side checkout (5s) [20:27:33][Updating sources] Will perform clean checkout. Reason: "Clean all files before build" turned on [20:27:33][Updating sources] Transferring cached clean patch for VCS root: GitProjectVCS [20:27:37][Updating sources] Repository sources transferred: 36.49Mb total [20:27:37][Updating sources] Removing C:\TeamCity\buildAgent\work\d002fb661417bf57 [20:27:37][Updating sources] Updating C:\TeamCity\buildAgent\work\d002fb661417bf57
When I make a new git clone , js files exist in the Scripts folder just as I added them. However, when I check the working folder that TeamCity places, all the files from git to js files do not exist in the Scripts folder ...
Am I missing something ??? Thanks for the help.
source share