This is a relatively minor issue, but I would like to fix it.
We send an email notification when we initiate a deployment to any environment. We also send one at the end (success or failure). There is always some basic common info like the release name, and version, and the requestor.
Regardless of who requests the build in TC or the deployment, one user is always identified as the deployment requestor.
It is true that I created process, but I expected the individual creating the deployment would be named here.
In the email body we include:
Requested by: #{Octopus.Deployment.CreatedBy.DisplayName} [#{Octopus.Deployment.CreatedBy.EmailAddress}]
The display name and the email address is always me ( Andrew Laraia [Andrew.Laraia@computershare.com]) .
The deployments are created by a final build step in TeamCity, and TeamCity uses an API KEY that is based on a generic identity, and not me.
I would have expected this at the very least identify “NASVC_Octopus” as the user and the email address associated with it.
How do I get the correct identity for this?