-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 2.375.3
workflow-cps:3635.vedb_8602eefa_c
ssh-steps:2.0.65.vd26b_5b_9b_de4d
Given:
- ssh-steps plugin contains a forward slash in steps display name.
- workflow-cps is responsible for generating the GDSL document unter URI `https://localhost/pipeline-syntax/gdsl`
- display names of steps of installed plugins are rendered into the GDSL document
- the created GDSL document is put into a project's root as described in
Error:
- The created GDSL document contains escaped forward slashes, that renders the document invalid in IDE. (e.g. IntelliJ Idea)
- the underlying call to `escapeJavaScript(<String>)` claims to escape only single quotes in comparison to `escapeJava(<String>)` but also does forward slashes.
solution:
- utilize `escapeJava(<String>)` and escape single quotes. bugfix