TeamCityPublishArtifacts MSBuild task not working with =>
Hi
I have two setup files on a network drive like this
\\filesystem\XX\QA\Setup.exe
\\filesystem\XX\QA\Other.files
\\filesystem\XX\Prod\Setup.exe
I would like to add the two setup-files as artifacts using the TeamCityPublishArtifacts MSBuild task to
"artifact-folder"\QA\Setup.exe and
"artifact-folder"\Prod\Setup.exe
What's the MSBuild command for this?
This doesn't work
<TeamCityPublishArtifacts SourceFiles="'\\filesystem\QA\Setup.exe' => QA" />
<TeamCityPublishArtifacts SourceFiles="'\\filesystem\Prod\Setup.exe' => Prod" />
Please sign in to leave a comment.
Hi,
Currently TeamCityPublishArtifacts MSBuild task does not support mapping, please see http://youtrack.jetbrains.com/issue/TW-7701.
As workaround you can try this one:
<Message Text="##teamcity[publishArtifacts '%(FilesToPublish->'%(FullPath)=>$(AssemblyName)\.')']"/>