I want to pass the teamcity username of the current logged in user to a build script called from teamcity, is there a property that has this? I didn't see one when I looked. It can't be a user specified property because I want it to be tied to their actual login so there is some sort of authentication of who they are.
I used properties %teamcity.build.triggeredBy% and %teamcity.build.triggeredBy.username%. These properties returns "John Doe" and "[email protected]". Using this values I can allow to run a build or not.
I've read that groovy plugin should be installed first to use these properties. But I can't check if I have it installed. I just do not have access to TeamCity administration settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With