pipeline-maven-plugin 3.8 upgrade fails to load mysql driver

15 views
Skip to first unread message

Dan Tran

unread,
Jul 13, 2019, 1:58:52 AM7/13/19
to Jenkins Users

Hello, 

after upgrading to 3.8, mysql setup for pipeline-maven-plugin facing this error

     java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver

wonder if anyone has seen this? or it just me

downgrade get it working again

appreciate any helps

-D


Baptiste Mathus

unread,
Jul 13, 2019, 12:29:06 PM7/13/19
to jenkins...@googlegroups.com
I recommend filing a JIRA if you have abug reproducer. Cyrille, the maintainer, is quite busy these days, so a JIRA is likely a better way that he sees it and fixes it if needed.

Cheers

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/783c998a-77b6-4f37-ad0a-2a8df6ea125a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dan Tran

unread,
Jul 13, 2019, 4:30:11 PM7/13/19
to Jenkins Users
looks like my issue related to this change https://github.com/jenkinsci/pipeline-maven-plugin/commit/9a673ee9cd4ee978a9f8b4bf830fdccfde40706b

will dig further before file a Jira bug

Thanks

-D


On Saturday, July 13, 2019 at 9:29:06 AM UTC-7, Baptiste Mathus wrote:
I recommend filing a JIRA if you have abug reproducer. Cyrille, the maintainer, is quite busy these days, so a JIRA is likely a better way that he sees it and fixes it if needed.

Cheers

Le sam. 13 juil. 2019 à 07:58, Dan Tran <dan...@gmail.com> a écrit :

Hello, 

after upgrading to 3.8, mysql setup for pipeline-maven-plugin facing this error

     java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver

wonder if anyone has seen this? or it just me

downgrade get it working again

appreciate any helps

-D


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins...@googlegroups.com.

Dan Tran

unread,
Jul 13, 2019, 4:35:40 PM7/13/19
to Jenkins Users

The change suggests to install mysql-api plugin.  It works

Thanks

-D

Cyrille Le Clerc

unread,
Jul 15, 2019, 5:51:14 AM7/15/19
to Jenkins Users
Thanks Dan.

Did you uninstall the "database-mysql" plugin when you performed your upgrade? I was expecting people who had installed the "database-mysql" to not need to install the "mysql-api" plugin. 

Maybe I misunderstood the classloader isolation of Jenkins plugins.

Cyrille
Reply all
Reply to author
Forward
0 new messages