I want to add a condition like this to a shell script:
if running inside TeamCity then
echo "Inside TeamCity"
echo "Not inside TeamCity"
There are a bunch of environment variables that I can use to do this -- but what is the proper way of doing it?