Question

Some of my unit tests produce output files. The question is: Is it possible to copy these files to the artifacts?

I already tried to locate the generated files and I found them in the TeamCity Buildagent Temp folder.

Était-ce utile?

La solution

Should have looked a little more into the usage of parameters. Using the paramater %system.teamcity.build.tempDir% did the trick. All I did was adding the following line to the artifcats box:

%system.teamcity.build.tempDir%\**\Out\*.sql => Sql-scripts
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top