-
New Feature
-
Resolution: Unresolved
-
Minor
In JENKINS-50633 the plugin accepts Maven's Model class as an argument. Although it is a bad design, we cannot do much with that. But we can at least invoke the step within the NonCPS closure. In such case the value won't be persisted to the context, but the argument will be still persisted... and Cause JEP-200.
It would be great to allow parameters to filter-away/mock options which are not supposed to be persisted.
There is existing ArgumentsActionImpl#sanitizeAndRecordMutation() API in the class, which can invoke defineArguments(). It is not working in this case, because it does not take the really passed parameters into account. So there may be issues with default arguments if any.
I propose to add new API.
- relates to
-
JENKINS-50633 JEP-200 - org.apache.maven.model.Model might be dangerous, so rejecting
- Resolved
- links to