Since Jython can create Java classes, I see no reason why this should not work.
Note that you will need to learn at least some things about Java (mainly a platform, not necessarily a language) in order to be able to write plugins for Jenkins.
Joachim sauer
source share