How to retrieve an e-mail address

Hi,

When doing a personal build, I would like to pass to the script the e-mail of the person that launched that build.

Is there a way to do this?

Thank you in advance

Stéphane

1 comment
Comment actions Permalink

Hi Stephanie

This info is not provided out of the box, but can be obtained with a couple of additional actions.

  1. Groovy plugin provides additional build.triggeredBy property that shows username of a person who started the build.
  2. REST API allows to obtain email of TeamCity user by its username.

Michael
0

Please sign in to leave a comment.