[JIRA] (JENKINS-60313) Confusing error message when MySQL API plugin isn't installed

2019-11-28 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc assigned an issue to Cyrille Le Clerc  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60313  
 
 
  Confusing error message when MySQL API plugin isn't installed   
 

  
 
 
 
 

 
Change By: 
 Cyrille Le Clerc  
 
 
Assignee: 
 Alvaro Lobato Cyrille Le Clerc  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203309.1574933501000.9148.1574976060186%40Atlassian.JIRA.


[JIRA] (JENKINS-60313) Confusing error message when MySQL API plugin isn't installed

2019-11-28 Thread a.josh.wat...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Watson updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60313  
 
 
  Confusing error message when MySQL API plugin isn't installed   
 

  
 
 
 
 

 
Change By: 
 Josh Watson  
 

  
 
 
 
 

 
 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+ [id=206]   INFOhudson.model.AsyncPeriodicWork$1#run: Finished DockerContainerWatchdog Asynchronous Periodic Work. 7 ms2019-11-28 08:43:50.207+ [id=14]WARNING o.j.p.p.m.GlobalPipelineMavenConfig#getDao: Exception creating database dao, skipjava.lang.RuntimeException: MySql driver 'com.mysql.cj.jdbc.Driver' not found. Please install the 'MySQL Database Plugin' to install the MySql driverat 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!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
   

[JIRA] (JENKINS-60313) Confusing error message when MySQL API plugin isn't installed

2019-11-28 Thread a.josh.wat...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Watson updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60313  
 
 
  Confusing error message when MySQL API plugin isn't installed   
 

  
 
 
 
 

 
Change By: 
 Josh Watson  
 

  
 
 
 
 

 
 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+ [id=206]   INFOhudson.model.AsyncPeriodicWork$1#run: Finished DockerContainerWatchdog Asynchronous Periodic Work. 7 ms2019-11-28 08:43:50.207+ [id=14]WARNING o.j.p.p.m.GlobalPipelineMavenConfig#getDao: Exception creating database dao, skipjava.lang.RuntimeException: MySql driver 'com.mysql.cj.jdbc.Driver' not found. Please install the 'MySQL Database Plugin' to install the MySql driverat 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!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent 

[JIRA] (JENKINS-60313) Confusing error message when MySQL API plugin isn't installed

2019-11-28 Thread a.josh.wat...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Watson created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60313  
 
 
  Confusing error message when MySQL API plugin isn't installed   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Alvaro Lobato  
 
 
Components: 
 pipeline-maven-plugin  
 
 
Created: 
 2019-11-28 09:31  
 
 
Environment: 
 Jenkins 2.190.3 LTS, Pipeline Maven Plugin 3.8.2, MySQL Database Plugin 1.3  
 
 
Priority: 
  Trivial  
 
 
Reporter: 
 Josh Watson  
 

  
 
 
 
 

 
 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+ [id=206]   INFOhudson.model.AsyncPeriodicWork$1#run: Finished DockerContainerWatchdog Asynchronous Periodic Work. 7 ms
2019-11-28 08:43:50.207+ [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