I figured out the answer to my problem. I figured out how to make hudson run as a standalone program even if you already have tomcat running. I will try to find time to add that information to the wiki.

Frank


On Oct 20, 2009, at 12:30 PM, Mr. Frank Cobia wrote:

But how do I invoke the script from within Hudson and have it execute as another user? The only thing I can think of is to do a setuid script, but that has its own problems.

Frank


On Oct 20, 2009, at 12:04 PM, Pascal Robert wrote:



First, thanks for all the Hudson help. I now have all my apps, frameworks and jars building in Hudson.

Now I am trying to use Capistrano to deploy the built apps. I have Capistrano working from my development box, but I have run into a problem trying to do the same from the Hudson server.

The problem is that I do not have anywhere to setup the ssh public/ private key. I had to run Hudson from within the tomcat server on Mac OS X Server which runs as _appserver. The home for _appserver is /var/empty and I do not want to put the key in that directory. I have tried using Workgroup Manager to set the home directory to / Users/_appserver. It exits without any problems but it does not actually create the home directory.

Don't deploy with the appserver user, you should deploy with an user which is in the appserveradm and appserverusr groups instead.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/frank.cobia%40f2technology.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to