On Tue, Mar 12, 2019 at 8:38 PM joseph labonte <[email protected]> wrote:
>
> Hello!
>
> In my jenkinsfile I am writing to a yaml file.
>
> One of the parameters being taken is is written to the yaml file like this:
>
> param: test-targets=[annotation 
> com.company.android.customAnnotations.SanityTest, notAnnotation 
> com.company.android.customAnnotations.IgnoreTestLab]
>
> When trying to run the job in jenkins, the build fails with "Cannot 
> deserialize instance of `java.util.ArrayList` out of VALUE_STRING token"
>
> what would the correct way be to handle this in groovyland?

I think we would need a reproduction here, specifically:

1. Is YAML content exactly as shown above?
2. What type is it being read as?
3. Would above fail with a stand-alone Java unit test?

-+ Tatu +-

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to