Using the same build output twice in artifact


This may be a stupid question but I have a build configuration in Teamcity which build a file that I would like to output twice in the build artifact.

Let me try with a simple example.

I have a build step that just echos some text to a file sleep.bat.

I set the following under Artifact paths


I run the build.

The build log includes

[08:44:04][Publishing artifacts] Paths to publish: [./sleep.bat=>, ./sleep.bat=>]

However, when I look in the file, it only contains the "2" folder.

Can any one explain this?

with regards, Thomas

Please sign in to leave a comment.