Database plugin caches configuration?

XMLWordPrintable

    • Type: Improvement
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: None
    • Environment:
      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

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

              Created:
              Updated:
              Resolved: