jenkins - Hudson job running as wrong user -
i have hudson build job runs script called 'testuser.sh' contains 1 command: 'whoami'. first line of console output says 'started user ctisbuild', output of whoami/testuser.sh script 'root'.
any idea what's going on? used working properly, don't know changed cause this.
thanks
i guess running hudson root command line? using java -jar hudson.war? "started user ctisbuild" user if of user trigger build, person clicked on "build now". not userid hudson use. user id specified in /etc/default/hudson hudson_user
for more details read hudson wiki
Comments
Post a Comment