Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top