Copy Output from Unit test to artifacts
-
02-07-2021 - |
문제
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.
해결책
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
제휴하지 않습니다 StackOverflow