Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @jenkinsci/postgresql-api-plugin-developers
16 changes: 0 additions & 16 deletions .github/dependabot.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":semanticCommitsDisabled",
"schedule:earlyMondays"
],
"automerge": true,
"labels": [
"dependencies"
],
"rebaseWhen": "conflicted"
}
19 changes: 19 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins

name: cd
on:
workflow_dispatch:
check_run:
types:
- completed

permissions:
checks: read
contents: write

jobs:
maven-cd:
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
secrets:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
7 changes: 7 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<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">
<extension>
<groupId>io.jenkins.tools.incrementals</groupId>
<artifactId>git-changelist-maven-extension</artifactId>
<version>1.6</version>
</extension>
</extensions>
3 changes: 3 additions & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
-Dchangelist.format=%d.v%s
7 changes: 6 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/*
* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library
*/
buildPlugin()
buildPlugin(
useContainerAgent: true,
configurations: [
[platform: 'linux', jdk: 17],
[platform: 'linux', jdk: 11],
])
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# PostgreSQL API Plugin

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

See the [Plugin Wiki](https://wiki.jenkins-ci.org/display/JENKINS/PostgreSQL+Plugin) for release information and documentation.
## Contributing

Refer to our [contribution guidelines](https://github.com/jenkinsci/.github/blob/master/CONTRIBUTING.md)

## LICENSE

Licensed under MIT, see [LICENSE](LICENSE)
32 changes: 13 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,38 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.33</version>
<version>4.56</version>
<relativePath />
</parent>

<groupId>io.jenkins.plugins</groupId>
<artifactId>postgresql-api</artifactId>
<version>42.3.4-SNAPSHOT</version>
<version>${changelist}</version>
<packaging>hpi</packaging>

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

<properties>
<jenkins.version>2.277.1</jenkins.version>
<java.level>8</java.level>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/postgresql-api-plugin</gitHubRepo>
<jenkins.version>2.387.1</jenkins.version>
</properties>
<dependencies>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.3.3</version>
<version>42.5.4</version>
</dependency>
</dependencies>

<scm>
<connection>scm:git:git@github.com:jenkinsci/postgresql-api-plugin.git</connection>
<developerConnection>scm:git:git@github.com:jenkinsci/postgresql-api-plugin.git
</developerConnection>
<tag>HEAD</tag>
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
<connection>scm:git:https://github.com/${gitHubRepo}</connection>
<developerConnection>scm:git:https://github.com/${gitHubRepo}</developerConnection>
<tag>${scmTag}</tag>
<url>https://github.com/${gitHubRepo}</url>
</scm>

<developers>
<developer>
<id>cleclerc</id>
<name>Cyrille Le Clerc</name>
<email>[email protected]</email>
</developer>
</developers>
<repositories>
<repository>
<id>repo.jenkins-ci.org</id>
Expand All @@ -58,7 +52,7 @@
<licenses>
<license>
<name>MIT License</name>
<url>http://opensource.org/licenses/MIT</url>
<url>https://opensource.org/licenses/MIT</url>
</license>
</licenses>
</project>
2 changes: 1 addition & 1 deletion src/main/resources/index.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ THE SOFTWARE.
-->
<?jelly escape-by-default='true'?>
<div>
This plugin is a shared library. It provides the PosrtgreSQL jar so that other plugins can consume PosrtgreSQL without duplication and without classpath collisions.
This plugin is a shared library. It provides the PostgreSQL jar so that other plugins can consume PostgreSQL without duplication and without classpath collisions.
</div>