TeamCity has a feature which will publish the Build Information to artifactory always.(by default). If we check that publish build info option(in step 3 - i'm using gradle as Runner), The published information will be recorded in Artifactory so that, we can trace back to the build which produced the artifact. Now i want to disable publishing build information if the build is person build. How to achieve this?

Thanks.

有帮助吗?

解决方案

This isn't possible without customizing either the TeamCity Artifactory plugin or the Gradle Artifactory plugin.

Build Info descriptor deployment is currently decided upon using a boolean variable, but customizing either plugin to do what you need should be fairly easy.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top