-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
Quality / Stability / Reliability
-
0.42
-
False
-
-
False
-
None
-
-
None
Issue
Deploy flow serializes current build params into env.DEPLOY_PARAMS as a string and later deserializes it. This is stringly-typed and hard to validate.
Steps to reproduce
1. Review deployOcp.groovy where env.DEPLOY_PARAMS is set repeatedly.
2. Review infraUtils.serializeCurrentBuildParams()/deserializeBuildParams().
Expected result
Deploy context is persisted in a structured format with a clear schema.
Actual result
Serialized params are stored in a global env var and parsed later.
Plan
- Define a deploy context schema (JSON) and persist as artifact.
- Pass context through explicit parameters or a shared context accessor.
- Remove env.DEPLOY_PARAMS and deserialization logic once consumers are migrated.