-
Improvement
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins 2.4.9
Database plugin 1.5
Database MySQL plugin 1.1
Hi,
I have problems with the plugin when using it in a Pipeline. My script looks like this:
script.getDatabaseConnection(type: 'GLOBAL') { script.sql "CREATE DATABASE `${script.BUILD_TAG}`" }
It looks like the plugin is caching a global configuration as when I change settings, the plugin can't connect to the database (I'm 100% positive that credentials are correct - checked them in a console). Also, I have reverted back old password of a mysql user, but haven't changed the configuration itself. After that, the plugin worked flawlessly what implies the caching even more