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

sshAgent {} inside docker.image().inside {} does not work with long project name

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: ssh-agent-plugin
    • Labels:
      None
    • Environment:
      Jenkins: 2.7.1 LTS
      docker-workflow-plugin: 1.7
      ssh-agent-plugin: 1.13
    • Similar Issues:

      Description

      If the socket can not be created in the tmp directory of the job, which happens if the socket path would get longer than 108, it will create the socket directly under /tmp. If I am using docker.image().inside this does not work. If I am using node {} it does work as expected.

      When using the GitHub Organisation Plugin I can not avoid long job names.

        Attachments

          Issue Links

            Activity

            sdomula Stan Domula created issue -
            sdomula Stan Domula made changes -
            Field Original Value New Value
            Priority Minor [ 4 ] Major [ 3 ]
            sdomula Stan Domula made changes -
            Description If the socket can not be created in the tmp directory of the job, which happens if the socket path would get longer than 108, it will create the socket directly under /tmp. If I am using docker.image().inside this does not work. If I am using node {} it does work as expected.
            If the socket can not be created in the tmp directory of the job, which happens if the socket path would get longer than 108, it will create the socket directly under /tmp. If I am using docker.image().inside this does not work. If I am using node {} it does work as expected.

            When using the GitHub Organisation Plugin I can not avoid long job names.
            jglick Jesse Glick made changes -
            Remote Link This issue links to "ssh-agent PR 2 (Web Link)" [ 15029 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "ssh-agent PR 17 (Web Link)" [ 15208 ]
            jglick Jesse Glick made changes -
            Component/s docker-workflow-plugin [ 20625 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-39540 [ JENKINS-39540 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-32704 [ JENKINS-32704 ]
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-29810 [ JENKINS-29810 ]
            jglick Jesse Glick made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            jglick Jesse Glick made changes -
            Link This issue is blocked by JENKINS-42093 [ JENKINS-42093 ]
            jglick Jesse Glick made changes -
            Link This issue is blocked by JENKINS-42346 [ JENKINS-42346 ]
            jglick Jesse Glick made changes -
            Link This issue is blocked by JENKINS-43050 [ JENKINS-43050 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal OSS-1802 (Web Link)" [ 18558 ]
            devopsfido Bob O made changes -
            Comment [ Having exactly the same issue as [~hermain] any explanation. ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-51811 [ JENKINS-51811 ]

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                sdomula Stan Domula
              • Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: