Hudson CI: custom permission for shell script

I'm setting up Hudson to run a shell script that just copies the workspace to a different folder. I got the following error:

cp: Unable to create directory `/ Home / U123 / Temp / Workplace ': Permission denied

My question is which user Hudson build is running? I installed Hudson as an Ubuntu service according to this page: http://pkg.hudson-labs.org/debian/

Thanks!

+2


a source to share


1 answer


Why not ask Hudson himself? Create a task and in this task run the "id" and / or "whoami" commands. The answer should be on the console output of the job.



+4


a source







All Articles