Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4687

Enhance CVS + SSH GUI

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cvs-plugin
    • Labels:
      None
    • Environment:
      Platform: PC, OS: Linux
    • Similar Issues:

      Description

      Hello,
      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,
      Luciana Moreira

        Attachments

          Activity

          Hide
          sst_lfe_build Sandstone added a comment -

          We should also allow for CVS plugin to perform variable expansion on "Private Key Location" and "Known Hosts Location". This would be helpful while configuring slaves. This doesnt seem to work currently.

          Show
          sst_lfe_build Sandstone added a comment - We should also allow for CVS plugin to perform variable expansion on "Private Key Location" and "Known Hosts Location". This would be helpful while configuring slaves. This doesnt seem to work currently.
          Hide
          mc1arke Michael Clarke added a comment -

          SSH has been re-enabled in version 2.1 and the GUI provides inputs for public key and password authentication in job setup

          Show
          mc1arke Michael Clarke added a comment - SSH has been re-enabled in version 2.1 and the GUI provides inputs for public key and password authentication in job setup
          Hide
          mc1arke Michael Clarke added a comment -

          The upcoming version (2.1) of cvs-plugin allows users to specify the location of the key file and provide a password for unlocking it.

          Show
          mc1arke Michael Clarke added a comment - The upcoming version (2.1) of cvs-plugin allows users to specify the location of the key file and provide a password for unlocking it.
          Hide
          ralfc_hauser ralfc_hauser added a comment -

          since my cc: hauser@acm.org is just ignored, I try it with that "ralfc_hauser"

          Show
          ralfc_hauser ralfc_hauser added a comment - since my cc: hauser@acm.org is just ignored, I try it with that "ralfc_hauser"

            People

            • Assignee:
              mc1arke Michael Clarke
              Reporter:
              lucianamssouza lucianamssouza
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: