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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ssh-agent-plugin
    • None
    • Jenkins: 2.7.1 LTS
      docker-workflow-plugin: 1.7
      ssh-agent-plugin: 1.13

      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.

          [JENKINS-36997] sshAgent {} inside docker.image().inside {} does not work with long project name

          Stan Domula created issue -
          Stan Domula made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Stan Domula made changes -
          Description Original: 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.
          New: 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.
          Jesse Glick made changes -
          Remote Link New: This issue links to "ssh-agent PR 2 (Web Link)" [ 15029 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "ssh-agent PR 17 (Web Link)" [ 15208 ]
          Jesse Glick made changes -
          Component/s Original: docker-workflow-plugin [ 20625 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-39540 [ JENKINS-39540 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-32704 [ JENKINS-32704 ]
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-29810 [ JENKINS-29810 ]

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

              Created:
              Updated:
              Resolved: