Skip to content

Commit

Permalink
Add support for postgres 15 and 16 (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesbusy authored Sep 20, 2023
1 parent 865c566 commit 05ef752
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ By default, the Jenkins Pipeline Maven Plugin uses an H2 embedded database, but
Configuration steps to use a PostgreSQL:

* Create an empty PostgreSQL database with a dedicated PostgreSQL user with permissions for Data Manipulation Language actions (DML) and Data Definition Language (DDL) actions
** Tested with PostgreSQL 10.6 and 11.3
** Tested with PostgreSQL up to 16
* Install the Jenkins the https://plugins.jenkins.io/postgresql-api/[PostgreSQL API] plugin
** Navigate to `Manage Jenkins / Manage Plugins / Available`, select the `PostgreSQL API` plugin and click on `Download now and install after restart`.
* Configure the Pipeline Maven Plugin to use the created PostgreSQL database
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ public FormValidation validateConfiguration(Config config) {
}
}
switch (metaData.getDatabaseMajorVersion()) {
case 16:
case 15:
case 14:
case 13:
case 12:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div>
<p>
Supported databases are H2, MySQL(including MySQL 5.7+, MariaDB 5.5+, Amazon Aurora DB for MySQL 5.6+...) and PostgreSQL 10+.
Supported databases are H2, MySQL(including MySQL 5.7+, MariaDB 5.5+, Amazon Aurora DB for MySQL 5.6+...) and PostgreSQL up to 16.
For production workloads, use MySQL / MariaDB or PostgreSQL.
</p>
<p>
Expand Down

0 comments on commit 05ef752

Please sign in to comment.