Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42669

Database plugin caches configuration?

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Major 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

            davidvanlaatum David van Laatum
            rjanicki Rafal Janicki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: