You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I'm using it wrong but in an actual pipeline run the "params" variable is an java.util.Collections$UnmodifiableMap. When running the unit test pipeline framework it appears to be a regular map.
Maybe what I'm asking for is impossible. Got an exception because I tried to treat params like a Map when it is not. Ran locally without errors, but failed on actual Jenkins.
Thanks!
Upstream changes
No response
The text was updated successfully, but these errors were encountered:
This is a good idea, and your reasoning makes perfect sense -- this framework should strive to emulate a real Jenkins server as much as possible. Unfortunately, this isn't a trivial fix because internally, we do need to modify the map in order to add parameters to it from calls made to addParam. So we need to think about a better solution to the problem here.
What feature do you want to see added?
Maybe I'm using it wrong but in an actual pipeline run the "params" variable is an java.util.Collections$UnmodifiableMap. When running the unit test pipeline framework it appears to be a regular map.
Maybe what I'm asking for is impossible. Got an exception because I tried to treat params like a Map when it is not. Ran locally without errors, but failed on actual Jenkins.
Thanks!
Upstream changes
No response
The text was updated successfully, but these errors were encountered: