-
Improvement
-
Resolution: Unresolved
-
Major
-
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,
- blocks
-
JENKINS-71761 pipeline-maven-plugin causing error for database has been closed
-
- Open
-
-
JENKINS-70406 Add support for SQL Server database
-
- Open
-
[JENKINS-72038] Integrate database plugin to pipeline-maven-plugin
Description |
Original:
Rely on 'database' plugin instead of jdbc configuration (like is done on the junit plugin)
To have configration like this {code} pipelineMaven: storage: "database" {code} Instead of {code} pipelineMaven: daoClass: "org.jenkinsci.plugins.pipeline.maven.db.PipelineMavenPluginPostgreSqlDao" globalTraceability: false jdbcCredentialsId: "postgresql" jdbcUrl: "jdbc:postgresql://postgresql-jenkins:5432/jenkins" {code}` Global configuration is done from 'Manage System' !global_database.PNG|thumbnail! Current maven config is done from 'Tools' !jdbc.PNG|thumbnail! A good example is the junit plugin ``` junitTestResultStorage: storage: "database" ``` And it's UI configuration !image-2023-09-19-13-41-48-272.png|thumbnail! Regards, |
New:
Rely on 'database' plugin instead of jdbc configuration (like is done on the junit plugin)
To have configration like this {code} pipelineMaven: storage: "database" {code} Instead of {code} pipelineMaven: daoClass: "org.jenkinsci.plugins.pipeline.maven.db.PipelineMavenPluginPostgreSqlDao" globalTraceability: false jdbcCredentialsId: "postgresql" jdbcUrl: "jdbc:postgresql://postgresql-jenkins:5432/jenkins" {code}` Global configuration is done from 'Manage System' !global_database.PNG|thumbnail! Current maven config is done from 'Tools' !jdbc.PNG|thumbnail! A good example is the junit plugin {code} junitTestResultStorage: storage: "database" {code} And it's UI configuration !image-2023-09-19-13-41-48-272.png|thumbnail! Regards, |
Link | New: This issue blocks JENKINS-70406 [ JENKINS-70406 ] |
Link | New: This issue blocks JENKINS-71761 [ JENKINS-71761 ] |
Hello,
yep that is clearly the goal to achieve