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

ssh-agent does not work with envinject plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: envinject-plugin
    • Labels:
    • Environment:
      EnvInject 1.92.1
      ssh-agent 1.14
      Jenkins 1.625.3
      Mac OS 10.8.3
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          conf 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

          Show
          conf 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
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

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

          Show
          oleg_nenashev Oleg Nenashev added a comment - It's likely fixed by the JENKINS-46479 fix though it will likely cause other problems Alexey Shein Sebastien Lavoie . If you create a pull requests with autotests for the behavior, I will try to address it once I get to the fix
          Hide
          oleg_nenashev 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

          Show
          oleg_nenashev 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

            People

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

              Dates

              Created:
              Updated: