-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.204.2, JMS Messaging Plugin 1.1.13
When Snippet Generator generates a snippet for sendCIMessage for the default topic, it does not add "overrides" parameter. But the script refuses to run without at least
overrides [:]
To reproduce:
1. Create a pipeline project.
2. Add a "Hello World" script.
3. Run Snippet generator and generate a sendCIMessage snippet with default parameters.
4. Try to run the job – it gives an error:
WorkflowScript: 8: Missing required parameter: "overrides" @ line 8, column 13. sendCIMessage failOnError: false, messageContent: '', messageProperties: '', messageType: 'CodeQualityChecksDone', providerName: 'Provider1' ^