Integrate database plugin to pipeline-maven-plugin

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: pipeline-maven-plugin
    • None
    • Environment:
      any

      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
          24 kB
          Valentin Delaye
        2. image-2023-09-19-13-41-48-272.png
          28 kB
          Valentin Delaye
        3. jdbc.PNG
          21 kB
          Valentin Delaye
        4. junit.PNG
          18 kB
          Valentin Delaye

            Assignee:
            Unassigned
            Reporter:
            Valentin Delaye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: