Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: cobertura-plugin, job-dsl-plugin
-
Labels:
-
Environment:Jenkins 1.625.3
Job DSL 1.42
Cobertura 1.9.7
-
Similar Issues:
Description
The following things happen when the 'sourceEncoding' value is misconfigured in your DSL script (AKA assign a value that isn't in the dropdown):
When creating the job, the 'publishers' node is generated empty, no matter if other publishers are also defined.
When regenerating the job, the 'publishers' node is generated properly, but none of the publishers show up in the UI.
Console output of the seed job doesn't complain about anything.
Example:
job("RIP_publishers") { publishers { cobertura('**/target/site/cobertura/coverage.xml') { sourceEncoding('UTF-8') // Invalid } git { pushOnlyIfSuccess() } } }
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | cobertura-plugin [ 15500 ] |
Workflow | JNJira [ 168223 ] | JNJira + In-Review [ 183019 ] |
Labels | robustness |