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

durable-task 1.13 is failing with remote Windows accessed through Cygwin sshd.

      The previous version of durable-task plugin as failing at the 'sh' pipeline step, with error:
      sh: C:[...]\durable-a739272f\script.sh: command not found

      The fork from blatinville - https://github.com/blatinville/durable-task-plugin - adresses this issue, as this version is able to actually run the 'sh' tasks (succeeding for some; but mysteriously fails returning -1 for some other, when there is actually no failure in the commands).

      The 1.13 release, which merges the PR from the above fork, fails on my setup with the following error:
      nohup: failed to run command 'sh': No such file or directory

      As it stands, I am not aware of any workarounds to actually run bash scripts on Windows remotes connected through Cygwin's sshd.

          [JENKINS-41225] durable-task 1.13 is failing with remote Windows accessed through Cygwin sshd.

          Ad created issue -
          Ad made changes -
          Environment Original: Jenkins 2.19.1 running on OS X
          Windows remote: Windows 10 x64, Cygwin 2.6.1
          New: Jenkins 2.32.1 (also tried on 2.19.1), running on OS X
          Windows remote: Windows 10 x64, Cygwin 2.6.1

          Ad added a comment -

          This seems to be due to the escape(envVars) call.
          Quick-fix proposed in PR: https://github.com/jenkinsci/durable-task-plugin/pull/36

          Ad added a comment - This seems to be due to the escape(envVars) call. Quick-fix proposed in PR: https://github.com/jenkinsci/durable-task-plugin/pull/36
          Jesse Glick made changes -
          Labels New: windows
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-40734 [ JENKINS-40734 ]
          Jesse Glick made changes -
          Labels Original: windows New: regression windows
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ] New: Ad [ adnn ]
          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 ]
          Vivek Pandey made changes -
          Labels Original: regression windows New: regression triaged-2018-11 windows

            adnn Ad
            adnn Ad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: