Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I find out what user Hudson is running under

Tags:

hudson

I've taken over handling Hudson from a contractor and I'm wanting to know what user the hudson is running under.

I need this because I've made a new job which will sync a folder with another folder on a mapped drive. This mapped drive is only available to the build user (user as in what you log into windows with, not log into hudson).

The job itself is getting a 'Failed to copy' error in the log which I believe is because i'm using the wrong windows user and there is no mapped drive? Or would this cause another error?

Regards

like image 246
Lango Avatar asked Dec 12 '25 19:12

Lango


1 Answers

If linux:

ps -ef | grep hudson

The owner of the process will be shown (along with other info).

like image 192
xagyg Avatar answered Dec 16 '25 22:12

xagyg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!