jenkinsci / jenkinsci/durable-task-plugin

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

Open
#373 1 comment 0 reactions 0 assignees View on GitHub
component:durable-task-plugin imported-jira-issue priority:major regression resolution:unresolved
Dominant language
Java
Stars
30
Forks
101
PR merge metrics
No merged PRs in 30d

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.

---
Originally reported by adnn, imported from: durable-task 1.13 is failing with remote Windows accessed through Cygwin sshd.


  • assignee: adnn
  • status: In Review
  • priority: Major
  • component(s): durable-task-plugin
  • label(s): regression, triaged-2018-11, windows
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-09

Raw content of original issue

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.

environment

```
Jenkins 2.32.1 (also tried on 2.19.1), running on OS X

Windows remote: Windows 10 x64, Cygwin 2.6.1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.