-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
workflow-cps: 2.18
pipeline-model-definition: 0.2
Jenkins: 2.23
The Pipeline Model Definition plugin has a step whose display name includes single quotes.
This causes a syntax error when using the generated DSLD / GDSL, as the single quotes (here, around "FOO=bar") are unescaped when the doc field is written:
method(name: 'envVarsForTool', type: 'Object', namedParams: [parameter(name: 'toolId', type: 'java.lang.String'), parameter(name: 'toolVersion', type: 'java.lang.String'), ], doc: 'Fetches the environment variables for a given tool in a list of 'FOO=bar' strings suitable for the withEnv step.')
- links to