Recently, I was trying to add a new job to our Jenkins using Jenkins Configuration as Code. When refreshing the CASC, I was greeted with this beautiful error:
javaposse.jobdsl.dsl.helpers.BuildParametersContext.choice() is applicable for argument types: (java.util.LinkedHashMap)
While not too helpful, it does indicate this has to do with a choice
type parameter.