-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Jenkins 2.277.4
In pipe line jobs, if the name of the job has an apostrophe in it, and a sh step is executed, the job will hang for awhile then eventually fail. This occurs with regular sh steps and other sh backed steps like the docker plugin steps.
Example Job :
Sh'BreaksJob
Script:
pipeline { agent any stages { stage('Hello') { steps { sh 'echo "hello world"' } } } }
Output
Running in Durability level: MAX_SURVIVABILITY[Pipeline] Start of Pipeline[Pipeline] nodeRunning on Jenkins in /var/lib/jenkins/workspace/Testing/Sh'BreaksJob[Pipeline] {[Pipeline] stage[Pipeline]
[Pipeline] // stage[Pipeline] }[Pipeline] // node[Pipeline] End of PipelineERROR: script returned exit code -2
Finished: FAILURE