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

ssh-agent does not work with envinject plugin

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • envinject-plugin
    • EnvInject 1.92.1
      ssh-agent 1.14
      Jenkins 1.625.3
      Mac OS 10.8.3

      When activating EnvInject, it removes the SSH_AUTH_SOCK set by ssh-agent and it reverts to /tmp/launch-XXXXXX/Listeners.

      Disabling EnvInject fixes the issue.

          [JENKINS-42275] ssh-agent does not work with envinject plugin

          Alexey Shein added a comment -

          Any feedback on this? I also have this issue. It seems ssh-agent starts properly, but shell execution step doesn't have access to its $SSH_AUTH_SOCK variable and basically makes the plugin useless on OSX slaves. On Linux, everything works great.

          ssh-agent 1.15
          envinject 2.1.3
          Jenkins 2.89.3

          Alexey Shein added a comment - Any feedback on this? I also have this issue. It seems ssh-agent starts properly, but shell execution step doesn't have access to its  $SSH_AUTH_SOCK variable and basically makes the plugin useless on OSX slaves. On Linux, everything works great. ssh-agent 1.15 envinject 2.1.3 Jenkins 2.89.3

          Oleg Nenashev added a comment -

          It's likely fixed by the JENKINS-46479 fix though it will likely cause other problems
          conf lavoie_sl . If you create a pull requests with autotests for the behavior, I will try to address it once I get to the fix

          Oleg Nenashev added a comment - It's likely fixed by the JENKINS-46479 fix though it will likely cause other problems conf lavoie_sl . If you create a pull requests with autotests for the behavior, I will try to address it once I get to the fix

          Oleg Nenashev added a comment -

          Unfortunately I will not have time to work on EnvInject issues for a while. I decided to unassign all issues so that somebody can take them and finalize.

          Context: The plugin has been waiting for adoption for ~2 years. During all this time I was trying to keep this plugin afloat by reviewing the incoming pull requests, fixing defects and keeping the codebase up to date to simplify the handover. But I have not been using this plugin on my own so that such maintenance was a bit lame. I invite all active users to contribute to the plugin by taking ownership of this plugin and of EnvInject API. I am happy to provide any required knowledge transfers and do some assistance during the first months of maintenance

          Oleg Nenashev added a comment - Unfortunately I will not have time to work on EnvInject issues for a while. I decided to unassign all issues so that somebody can take them and finalize. Context: The plugin has been waiting for adoption for ~2 years. During all this time I was trying to keep this plugin afloat by reviewing the incoming pull requests, fixing defects and keeping the codebase up to date to simplify the handover. But I have not been using this plugin on my own so that such maintenance was a bit lame. I invite all active users to contribute to the plugin by taking ownership of this plugin and of EnvInject API. I am happy to provide any required knowledge transfers and do some assistance during the first months of maintenance

            Unassigned Unassigned
            lavoie_sl Sebastien Lavoie
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: