I just encountered the issue JENKINS-54587, but had to search online to resolve it as the error message in the log from the plug-in is incorrect. The log message states: {code:java} 2019-11-28 08:43:45.873+0000 [id=206] INFO hudson.model.AsyncPeriodicWork$1#run: Finished DockerContainerWatchdog Asynchronous Periodic Work. 7 ms 2019-11-28 08:43:50.207+0000 [id=14] WARNING o.j.p.p.m.GlobalPipelineMavenConfig#getDao: Exception creating database dao, skip java.lang.RuntimeException: MySql driver 'com.mysql.cj.jdbc.Driver' not found. Please install the 'MySQL Database Plugin' to install the MySql driver at org.jenkinsci.plugins.pipeline.maven.GlobalPipelineMavenConfig.getDao(GlobalPipelineMavenConfig.java:322) at org.jenkinsci.plugins.pipeline.maven.NonProductionGradeDatabaseWarningAdministrativeMonitor.isActivated(NonProductionGradeDatabaseWarningAdministrativeMonitor.java:19) {code}
So I went to check my plug-ins and found I have the MySQL Database Plugin installed. After a bit of googling, I fcouldn't find a solution, so looked at the plugin configuration. When testing the plugin configuration it states that I should install the 'MySQL API Plugin' - I didn't have this installed and this resolved the issue.
The issue is just a misleading error message. Thanks for all the hard work on Jenkins and the plugins!
I just encountered the JENKINS-54587, but had to search online to resolve it as the error message in the log from the plug-in is incorrect. The log message states:
2019-11-28 08:43:45.873+0000 [id=206] INFO hudson.model.AsyncPeriodicWork$1#run: Finished DockerContainerWatchdog Asynchronous Periodic Work. 7 ms
2019-11-28 08:43:50.207+0000 [id=14] WARNING o.j.p.p.m.GlobalPipelineMavenConfig#getDao: Exception creating database dao, skip
java.lang.RuntimeException: MySql driver 'com.mysql.cj.jdbc.Driver' not found. Please install the 'MySQL Database Plugin' to install the MySql driver
at org.jenkinsci.plugins.pipeline.maven.GlobalPipelineMavenConfig.getDao(GlobalPipelineMavenConfig.java:322)
at org.jenkinsci.plugins.pipeline.maven.NonProductionGradeDatabaseWarningAdministrativeMonitor.isActivated(NonProductionGradeDatabaseWarningAdministrativeMonitor.java:19)
So I went to check my plug-ins and found I have the MySQL Database Plugin installed. After a bit of googling, I fcouldn't find a solution, so looked at the plugin configuration. When testing the plugin configuration it states that I should install the 'MySQL API Plugin' - I didn't have this installed and this resolved the issue.
The issue is just a misleading error message. Thanks for all the hard work on Jenkins and the plugins!
I just encountered issue JENKINS-54587, but had to search online to resolve it as the error message in the log from the plug-in is incorrect. The log message states: {code:java}
2019-11-28 08:43:45.873+0000 [id=206] INFO hudson.model.AsyncPeriodicWork$1#run: Finished DockerContainerWatchdog Asynchronous Periodic Work. 7 ms 2019-11-28 08:43:50.207+0000 [id=14] WARNING o.j.p.p.m.GlobalPipelineMavenConfig#getDao: Exception creating database dao, skip java.lang.RuntimeException: MySql driver 'com.mysql.cj.jdbc.Driver' not found. Please install the 'MySQL Database Plugin' to install the MySql driver at org.jenkinsci.plugins.pipeline.maven.GlobalPipelineMavenConfig.getDao(GlobalPipelineMavenConfig.java:322) at org.jenkinsci.plugins.pipeline.maven.NonProductionGradeDatabaseWarningAdministrativeMonitor.isActivated(NonProductionGradeDatabaseWarningAdministrativeMonitor.java:19)
{code}
So I went to check my plug-ins and found confirmed I have the MySQL Database Plugin installed. After a bit of googling, I fcouldn couldn't find a solution, so looked at the plugin plug-in configuration. When testing the plugin plug-in configuration it states that I should install the 'MySQL API Plugin' - I didn't have this installed and this resolved the issue.
The issue is just a misleading error message. Thanks for all the hard work on Jenkins and the plugins!