Re: How the get the user that does the build?

2014-05-15 Thread ogondza


Hi,

See `Run.getCauses()`. You can extract user identity from 
UserCause|UserIdCause.

--

oliver

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How the get the user that does the build?

2014-05-15 Thread Daniel Anechitoaie
Hi,

I'm writing a Jenkins build plugin and I need to get the name of the person 
that started the build, or "timer" if the build was started by timer and so 
on.
Any idea how this info can be retrieved?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.