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

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

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

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

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

              People

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

                Dates

                • Created:
                  Updated: