How to add a JDBC driver to a Jenkins pipeline?
问题 I want to create a database within a pipeline script to be used by the deployed app. But first I started testing the connection. I got this problem: java.sql.SQLException: No suitable driver found for jdbc:mysql://mysql:3306/test_db I have the database plugin and the MySQL database plugin installed. How do I get the JDBC driver? import groovy.sql.Sql node{ def sql = Sql.newInstance("jdbc:mysql://mysql:3306/test_db", "user","passwd", "com.mysql.jdbc.Driver") def rows = sql.execute "select