I installed Hudson in a debian machine and configured a project with SVN over
SSH. This worked like a charm and I had my project in less than 5 minutes.
When I tried to get the same working with CVS + SSH my problems started.
Apparently hudson is installed as a service in debian, which runs with the
hudson user. I tried to configure the .ssh folder in this user's home directory
and add the required keys there to fetch the source from CVS. This got me a bit
further but then the keys needed to be unlocked. I thought of using ssh-agent to
unlock it, but I had no information on the hudson's user password (if there is one).
At this point I quit this approach killed the process and started it with the
following command line under my user account:
java -jar /usr/share/hudson/hudson.war
With my user account as owner of the process the ssh keys are available and
everything works fine.
I suppose there is a better way of doing this but I could not find it. Maybe a
similar approach as we have already for SVN over ssh would be ideal.
Thx and best regards,
|Field||Original Value||New Value|
|Assignee||Michael Clarke [ mc1arke ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Status||In Progress [ 3 ]||Resolved [ 5 ]|
|Fix Version/s||current [ 10162 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||JNJira [ 134760 ]||JNJira + In-Review [ 186874 ]|