We have two cases where the nuget publish step often fails because of how our developers work. The first case is the nuspec file for the project hasn't been created and there is nothing to publish so the build fails saying the nuget publish step cannot find packages to publish. However the build itself has passed. The other case is the build is rerun and it tries to publish the same package. We don't allow our developers tooverwrite packages in our feed so the build fails saying it cannot overwrite packages. It would be great if we could ignore the exit code of just this step. I that possible.
We're using TeamCity Enterprise 8.1.3 (build 30101)