-
Notifications
You must be signed in to change notification settings - Fork 0
Publish Artifacts
egoroff edited this page Jun 22, 2013
·
4 revisions
Another cool feature of service messages is that now you can publish build artifacts, while the build is still running. Artifacts should adhere following format: file_name|directory_name|wildcard [ => target_directory|target_archive ]
Details [in TeamCity documentation](http://confluence.jetbrains.net/display/TCD5/Build+Artifact).Publish several artifacts.
<PublishArtifacts
Artifacts="File1.zip;File2.zip"
/>
or the same in more readable form:
<ItemGroup>
<Artifact Include="File1.zip" />
<Artifact Include="File2.zip" />
</ItemGroup>
<PublishArtifacts
Artifacts="@(Artifact)"
/>
Publish several artifacts full example (with all optional attributes)
<PublishArtifacts
IsAddTimestamp="true"
FlowId="1"
Artifacts="File1.zip;File2.zip"
/>
Publish several artifacts complex example
<ItemGroup>
<Artifact Include="File1.zip" />
<Artifact Include="File2.zip" />
<Artifact Include="File3.zip => Path" />
</ItemGroup>
<PublishArtifacts
Artifacts="@(Artifact)"
/>