-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
Quality / Stability / Reliability
-
0.42
-
False
-
-
False
-
None
-
-
None
Issue
infraUtils.getJobParams() parses parameter values via param.toString() and string splitting. This is brittle and tied to formatting.
Steps to reproduce
1. Review infraUtils.getJobParams() in vars/infraUtils.groovy.
2. Observe parsing of param.toString() and split on whitespace/equals.
Expected result
Parameters are accessed via Jenkins API getters (name/value) without string parsing.
Actual result
String parsing is used for parameter extraction.
Plan
- Use parameter objects' name/value fields directly.
- Return a deterministic map keyed by parameter name.
- Add minimal unit/integration coverage if possible.