Skip to content

Commit 3159b9f

Browse files
authored
Merge pull request #66 from jonesbusy/feature/refresh-november-2023
Refresh plugin for November 2023
2 parents 979436f + 70e10b9 commit 3159b9f

File tree

9 files changed

+67
-20
lines changed

9 files changed

+67
-20
lines changed

.github/CODEOWNERS

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

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates
2+
3+
version: 2
4+
updates:
5+
- package-ecosystem: maven
6+
directory: /
7+
schedule:
8+
interval: monthly
9+
- package-ecosystem: github-actions
10+
directory: /
11+
schedule:
12+
interval: monthly

.github/release-drafter.yml

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

.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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<extension>
33
<groupId>io.jenkins.tools.incrementals</groupId>
44
<artifactId>git-changelist-maven-extension</artifactId>
5-
<version>1.2</version>
5+
<version>1.7</version>
66
</extension>
77
</extensions>

.mvn/maven.config

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

Jenkinsfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
buildPlugin()
1+
/*
2+
See the documentation for more options:
3+
https://github.com/jenkins-infra/pipeline-library/
4+
*/
5+
buildPlugin(
6+
forkCount: '1C', // run this number of tests in parallel for faster feedback. If the number terminates with a 'C', the value will be multiplied by the number of available CPU cores
7+
useContainerAgent: false, // Set to `false` if you need to use Docker for containerized tests
8+
configurations: [
9+
[platform: 'linux', jdk: 21],
10+
[platform: 'linux', jdk: 17],
11+
])

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ Refer to our [contribution guidelines](https://github.com/jenkinsci/.github/blob
99
## LICENSE
1010

1111
Licensed under MIT, see [LICENSE](LICENSE.md)
12-

pom.xml

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,21 @@
33
<parent>
44
<groupId>org.jenkins-ci.plugins</groupId>
55
<artifactId>plugin</artifactId>
6-
<version>4.15</version>
6+
<version>4.75</version>
77
<relativePath />
88
</parent>
99

1010
<artifactId>database-mysql</artifactId>
11-
<version>${revision}${changelist}</version>
11+
<version>${changelist}</version>
1212
<packaging>hpi</packaging>
1313
<name>MySQL Database Plugin</name>
1414

1515
<url>https://github.com/jenkinsci/database-mysql-plugin</url>
1616

1717
<properties>
18-
<revision>1.5</revision>
19-
<changelist>-SNAPSHOT</changelist>
18+
<changelist>999999-SNAPSHOT</changelist>
2019
<gitHubRepo>jenkinsci/database-mysql-plugin</gitHubRepo>
21-
<jenkins.version>2.235.1</jenkins.version>
22-
<java.level>8</java.level>
23-
<database.version>1.9</database.version>
20+
<jenkins.version>2.414.3</jenkins.version>
2421
</properties>
2522

2623
<licenses>
@@ -30,16 +27,27 @@
3027
</license>
3128
</licenses>
3229

30+
<dependencyManagement>
31+
<dependencies>
32+
<dependency>
33+
<groupId>io.jenkins.tools.bom</groupId>
34+
<artifactId>bom-2.414.x</artifactId>
35+
<version>2582.v830625dd636c</version>
36+
<scope>import</scope>
37+
<type>pom</type>
38+
</dependency>
39+
</dependencies>
40+
</dependencyManagement>
41+
3342
<dependencies>
3443
<dependency>
35-
<groupId>mysql</groupId>
36-
<artifactId>mysql-connector-java</artifactId>
37-
<version>8.0.33</version>
44+
<groupId>io.jenkins.plugins</groupId>
45+
<artifactId>mysql-api</artifactId>
46+
<version>8.0.33-7.v45b_7eb_1e2311</version>
3847
</dependency>
3948
<dependency>
4049
<groupId>org.jenkins-ci.plugins</groupId>
4150
<artifactId>database</artifactId>
42-
<version>${database.version}</version>
4351
</dependency>
4452
</dependencies>
4553

@@ -58,9 +66,9 @@
5866
</pluginRepositories>
5967

6068
<scm>
61-
<connection>scm:git:git://github.com/${gitHubRepo}.git</connection>
62-
<developerConnection>scm:git:git@github.com:${gitHubRepo}.git</developerConnection>
63-
<url>http://github.com/${gitHubRepo}</url>
69+
<connection>scm:git:https://github.com/${gitHubRepo}</connection>
70+
<developerConnection>scm:git:https://github.com/${gitHubRepo}</developerConnection>
71+
<url>https://github.com/${gitHubRepo}</url>
6472
<tag>${scmTag}</tag>
6573
</scm>
6674
</project>

0 commit comments

Comments
 (0)