Skip to content

Commit aacfd7e

Browse files
authored
Update postgresql from 42.3.3 to 42.5.4 (#46)
1 parent a9a05c3 commit aacfd7e

File tree

10 files changed

+71
-39
lines changed

10 files changed

+71
-39
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @jenkinsci/postgresql-api-plugin-developers

.github/dependabot.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/renovate.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base",
5+
":semanticCommitsDisabled",
6+
"schedule:earlyMondays"
7+
],
8+
"automerge": true,
9+
"labels": [
10+
"dependencies"
11+
],
12+
"rebaseWhen": "conflicted"
13+
}

.github/workflows/cd.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins
2+
3+
name: cd
4+
on:
5+
workflow_dispatch:
6+
check_run:
7+
types:
8+
- completed
9+
10+
permissions:
11+
checks: read
12+
contents: write
13+
14+
jobs:
15+
maven-cd:
16+
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
17+
secrets:
18+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
19+
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}

.mvn/extensions.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
2+
<extension>
3+
<groupId>io.jenkins.tools.incrementals</groupId>
4+
<artifactId>git-changelist-maven-extension</artifactId>
5+
<version>1.6</version>
6+
</extension>
7+
</extensions>

.mvn/maven.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-Pconsume-incrementals
2+
-Pmight-produce-incrementals
3+
-Dchangelist.format=%d.v%s

Jenkinsfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
/*
22
* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library
33
*/
4-
buildPlugin()
4+
buildPlugin(
5+
useContainerAgent: true,
6+
configurations: [
7+
[platform: 'linux', jdk: 17],
8+
[platform: 'linux', jdk: 11],
9+
])

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# PostgreSQL API Plugin
22

3-
This plugin is a shared library. It provides the PostgreSQL jar so that other plugins can consume PostgreSQL without duplication and without classpath collisions.
3+
This is a driver plugin for Database plugin that adds a PostgreSQL database driver.
44

5-
See the [Plugin Wiki](https://wiki.jenkins-ci.org/display/JENKINS/PostgreSQL+Plugin) for release information and documentation.
5+
## Contributing
6+
7+
Refer to our [contribution guidelines](https://github.com/jenkinsci/.github/blob/master/CONTRIBUTING.md)
8+
9+
## LICENSE
10+
11+
Licensed under MIT, see [LICENSE](LICENSE)

pom.xml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,44 +5,38 @@
55
<parent>
66
<groupId>org.jenkins-ci.plugins</groupId>
77
<artifactId>plugin</artifactId>
8-
<version>4.33</version>
8+
<version>4.56</version>
99
<relativePath />
1010
</parent>
1111

1212
<groupId>io.jenkins.plugins</groupId>
1313
<artifactId>postgresql-api</artifactId>
14-
<version>42.3.4-SNAPSHOT</version>
14+
<version>${changelist}</version>
1515
<packaging>hpi</packaging>
1616

1717
<name>PostgreSQL API Plugin</name>
18-
<url>https://wiki.jenkins-ci.org/display/JENKINS/PostgreSQL+API+Plugin</url>
18+
<url>https://github.com/jenkinsci/postgresql-api-plugin</url>
1919

2020
<properties>
21-
<jenkins.version>2.277.1</jenkins.version>
22-
<java.level>8</java.level>
21+
<changelist>999999-SNAPSHOT</changelist>
22+
<gitHubRepo>jenkinsci/postgresql-api-plugin</gitHubRepo>
23+
<jenkins.version>2.387.1</jenkins.version>
2324
</properties>
2425
<dependencies>
2526
<dependency>
2627
<groupId>org.postgresql</groupId>
2728
<artifactId>postgresql</artifactId>
28-
<version>42.3.3</version>
29+
<version>42.5.4</version>
2930
</dependency>
3031
</dependencies>
3132

32-
<scm>
33-
<connection>scm:git:git@github.com:jenkinsci/postgresql-api-plugin.git</connection>
34-
<developerConnection>scm:git:git@github.com:jenkinsci/postgresql-api-plugin.git
35-
</developerConnection>
36-
<tag>HEAD</tag>
33+
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
34+
<connection>scm:git:https://github.com/${gitHubRepo}</connection>
35+
<developerConnection>scm:git:https://github.com/${gitHubRepo}</developerConnection>
36+
<tag>${scmTag}</tag>
37+
<url>https://github.com/${gitHubRepo}</url>
3738
</scm>
3839

39-
<developers>
40-
<developer>
41-
<id>cleclerc</id>
42-
<name>Cyrille Le Clerc</name>
43-
<email>[email protected]</email>
44-
</developer>
45-
</developers>
4640
<repositories>
4741
<repository>
4842
<id>repo.jenkins-ci.org</id>
@@ -58,7 +52,7 @@
5852
<licenses>
5953
<license>
6054
<name>MIT License</name>
61-
<url>http://opensource.org/licenses/MIT</url>
55+
<url>https://opensource.org/licenses/MIT</url>
6256
</license>
6357
</licenses>
6458
</project>

src/main/resources/index.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ THE SOFTWARE.
2424
-->
2525
<?jelly escape-by-default='true'?>
2626
<div>
27-
This plugin is a shared library. It provides the PosrtgreSQL jar so that other plugins can consume PosrtgreSQL without duplication and without classpath collisions.
27+
This plugin is a shared library. It provides the PostgreSQL jar so that other plugins can consume PostgreSQL without duplication and without classpath collisions.
2828
</div>

0 commit comments

Comments
 (0)