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

Integrate database plugin to pipeline-maven-plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline-maven-plugin
    • None
    • 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
          global_database.PNG
          24 kB
        2. image-2023-09-19-13-41-48-272.png
          image-2023-09-19-13-41-48-272.png
          28 kB
        3. jdbc.PNG
          jdbc.PNG
          21 kB
        4. junit.PNG
          junit.PNG
          18 kB

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

              Created:
              Updated: