Hi all,

In the plugin I'm currently writing, I reference promoted-builds(-plugin)
v2.20. I'm pretty satisfied with this version of the plugin.

On the test environment I decided to add also
parametrized-trigger(-plugin). Which depends on promoted-builds(-plugin)
v2.10.

During the execution of my plugin, I get an exception like

Caused by: java.lang.ClassCastException:
hudson.plugins.promoted_builds.JobPropertyImpl cannot be cast to
hudson.plugins.promoted_builds.JobPropertyImpl

I suppose this is related to the version of the plugin. Is there a way to
control the (version of the) class being used? Is this due to a change in
the interface of the called class? (Comparing the two tags
<https://github.com/jenkinsci/promoted-builds-plugin/compare/promoted-builds-2.10...promoted-builds-2.20>,
I see that the signature of some methods in the JobPropertyImpl class has
changed -- the synchronized keyword has been added)

Thanks in advance,
Ivo

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF9Srz_WjLZYQUHYgrcJXxOEB4%2BFjJ4fQp%2BbCdVa%3De7tug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to