Publish artifacts while build in progress in ANT, teamcity
-
09-10-2019 - |
Question
Any ideas on how to publish teamcity artifacts while build is in progress using ANT. I use ANT as build runner in teamcity. Build interaction It says use it as ##teamcity[publishArtifacts '']. Any ideas on how it works in ANT scripts.
Solution
The artifact can be publish at run time by following command:
<echo message="##teamcity[publishArtifacts '${checkOutDir}/package/']"/>
${checkOutDir}/package/ is the folder which the required artifacts to be published to teamcity.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow