jenkinsci / jenkinsci/workflow-durable-task-step-plugin
[JENKINS-44341] Pipeline name breaks sh step
- Dominant language
- Java
- Stars
- 46
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
pipeline name: Spaces and 'Fancy' "Symbols"
pipeline script:
node ('master') {
sh "ls -la"
}
error:
Started by user xaseron
[Pipeline] node
Running on master in /var/jenkins_home/workspace/Spaces and 'Fancy' "Symbols"
[Pipeline] {
[Pipeline] sh
[Spaces and 'Fancy' "Symbols"] Running shell script
sh: can't create /var/jenkins_home/workspace/Spaces and Fancy "Symbols"@tmp/durable-2e345778/pid: nonexistent directory
sh: can't create /var/jenkins_home/workspace/Spaces and Fancy "Symbols"@tmp/durable-2e345778/jenkins-log.txt: nonexistent directory
sh: can't create /var/jenkins_home/workspace/Spaces and Fancy "Symbols"@tmp/durable-2e345778/jenkins-result.txt: nonexistent directory
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code -2
Finished: FAILURE
---
Originally reported by xaseron, imported from: Pipeline name breaks sh step
Raw content of original issue
pipeline name: Spaces and 'Fancy' "Symbols"
pipeline script:
node ('master') {
sh "ls -la"
}
error:
Started by user xaseron
[Pipeline] node
Running on master in /var/jenkins_home/workspace/Spaces and 'Fancy' "Symbols"
[Pipeline] {
[Pipeline] sh
[Spaces and 'Fancy' "Symbols"] Running shell script
sh: can't create /var/jenkins_home/workspace/Spaces and Fancy "Symbols"@tmp/durable-2e345778/pid: nonexistent directory
sh: can't create /var/jenkins_home/workspace/Spaces and Fancy "Symbols"@tmp/durable-2e345778/jenkins-log.txt: nonexistent directory
sh: can't create /var/jenkins_home/workspace/Spaces and Fancy "Symbols"@tmp/durable-2e345778/jenkins-result.txt: nonexistent directory
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code -2
Finished: FAILURE
environment
```
docker jenkins:alpine 2.46.2
Windows, manual installation 2.46.3
```
Contributor guide
Assessment
This issue has not been assessed yet.