jenkinsci / jenkinsci/durable-task-plugin
[JENKINS-41225] durable-task 1.13 is failing with remote Windows accessed through Cygwin sshd.
- 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.
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 foundThe 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 directoryAs 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
Assessment
This issue has not been assessed yet.