Using the same build output twice in artifact

Hi,

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

./sleep.bat=>report.zip/1
./sleep.bat=>report.zip/2

I run the build.

The build log includes

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

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

Can any one explain this?

with regards, Thomas

Please sign in to leave a comment.