Jenkins Groovy is awful and full of footguns. Have you ever run into a serialization exception?
It's too powerful and there are too many of its implementation details exposed to the user.
I haven't seen a serialization exception, but I have run into plenty of footguns with YAML (ref GitHub Actions).
The DSL semantics can be weird with when things like params/env expansions in options block are evaluated.
I haven't seen a serialization exception, but I have run into plenty of footguns with YAML (ref GitHub Actions).
The DSL semantics can be weird with when things like params/env expansions in options block are evaluated.