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

Add the support for Remoting work dir configuration of JNLP Launcher

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Minor Minor
    • core, libvirt-slave-plugin
    • None
    • LTS 2.73.x and newer

      https://jenkins.io/doc/upgrade-guide/2.73/ see Remoting Working Directories section

      See screenshot for the new fields that were introduced to the JNLP Launcher.

      These appear to be ignored by the Slave Setup and/or Libvirt Slaves plugins which result in the following two arguments being added empty no matter what is in the fields

      <argument>-workDir</argument>
      <argument/>
      <argument>-internalDir</argument>
      <argument/>

      This seems to break the JNLP launcher since it appears to be defaulting to the `/` as a path in such case.

          [JENKINS-47834] Add the support for Remoting work dir configuration of JNLP Launcher

          Denys Digtiar created issue -
          Giuseppe Landolfi made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: slave-setup-plugin [ 15929 ]
          Assignee Original: Giuseppe Landolfi [ peppe ]
          Denys Digtiar made changes -
          Description Original: [https://jenkins.io/doc/upgrade-guide/2.73/] see Remoting Working Directories section

          See screenshot for the new fields that were introduced to the JNLP Launcher.

          These appear to be ignored and the following two arguments are added no matter what is in the fields

          {{ <argument>-workDir</argument>}}
          {{ <argument/>}}
          {{ <argument>-internalDir</argument>}}
          {{ <argument/>}}

          This seem to break the JNLP launcher since it apper to be defaultig to the `/` as path in such case.
          New: [https://jenkins.io/doc/upgrade-guide/2.73/] see Remoting Working Directories section

          See screenshot for the new fields that were introduced to the JNLP Launcher.

          These appear to be ignored by the Slave Setup plugin and the following two arguments are added no matter what is in the fields

          {{<argument>-workDir</argument>}}
          {{<argument/>}}
          {{<argument>-internalDir</argument>}}
          {{<argument/>}}

          This seem to break the JNLP launcher since it apper to be defaultig to the `/` as path in such case.
          Oleg Nenashev made changes -
          Component/s New: slave-setup-plugin [ 15929 ]
          Oleg Nenashev made changes -
          Component/s Original: core [ 15593 ]
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-44108 [ 181734 ]

          We're seeing the same problem with Jenkins ver. 2.108.

          Glenn Burkhardt added a comment - We're seeing the same problem with Jenkins ver. 2.108.

          Mr. Digtiar - are you seeing this with a libvirt slave?  I suspect that for us it's due to an incompatibility between the libvirt plugin and Jenkins.

          Glenn Burkhardt added a comment - Mr. Digtiar - are you seeing this with a libvirt slave?  I suspect that for us it's due to an incompatibility between the libvirt plugin and Jenkins.
          Oleg Nenashev made changes -
          Component/s New: core [ 15593 ]
          Component/s New: libvirt-slave-plugin [ 15985 ]
          Component/s Original: slave-setup-plugin [ 15929 ]
          Oleg Nenashev made changes -
          Labels New: remoting

            bgermann Bastian Germann
            duemir Denys Digtiar
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: