Integrate database plugin to pipeline-maven-plugin

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Rely on 'database' plugin instead of jdbc configuration (like is done on the junit plugin)

      To have configration like this

        pipelineMaven:
          storage: "database"
      

      Instead of

        pipelineMaven:
          daoClass: "org.jenkinsci.plugins.pipeline.maven.db.PipelineMavenPluginPostgreSqlDao"
          globalTraceability: false
          jdbcCredentialsId: "postgresql"
          jdbcUrl: "jdbc:postgresql://postgresql-jenkins:5432/jenkins"
      

      `

      Global configuration is done from 'Manage System'

      Current maven config is done from 'Tools'

      A good example is the junit plugin

        junitTestResultStorage:
          storage: "database"
      

      And it's UI configuration

      Regards,

        1. global_database.PNG
          global_database.PNG
          24 kB
        2. jdbc.PNG
          jdbc.PNG
          21 kB
        3. image-2023-09-19-13-41-48-272.png
          image-2023-09-19-13-41-48-272.png
          28 kB
        4. junit.PNG
          junit.PNG
          18 kB

            Assignee:
            Unassigned
            Reporter:
            Valentin Delaye
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: