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

Allow to manage SSH keys in settings.xml from Jenkins credentials

XMLWordPrintable

      In maven settings a server entry can be a reference to an SSH key

          <server>
            <id>server001</id>
            <username>my_login</username>
            <privateKey>${user.home}/.ssh/id_dsa</privateKey>
            <passphrase>some_passphrase</passphrase>
          </server>
      

      This is useful for example when you are accessing to git repository in SSH to release the project for exemple. In Jenkins we can create SSH credentials but we cannot inject them in server entries like username/password. The feature should allow to inject the ssh private key path (we should temporarily deploy it on the slave) and passphrase (if required).

      imod do you think that it makes sense ?

            domi Dominik Bartholdi
            aheritier Arnaud Héritier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: