we ran into an issue with some of our builds that do an mvn deploy. the problem is that if you do a remote run with a build configuration that does an mvn deploy, the jar will be deployed, since deploy happens as part of the build. however, the point of the remote run is to not do things like commit or mvn deploy.
is there any way to detect that a build is being run under the guise of remote run? does TC pass a variable to the build so that i can detect, in Maven, when a remote run is happening?