Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top