Skip to content

Commit 5ecbfbf

Browse files
authored
Enable CD (#23)
1 parent 0086709 commit 5ecbfbf

File tree

7 files changed

+39
-29
lines changed

7 files changed

+39
-29
lines changed

.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 & 4 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 }}

.github/workflows/release-drafter.yml

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

.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.7</version>
5+
<version>1.8</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

pom.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
<parent>
3030
<groupId>org.jenkins-ci.plugins</groupId>
3131
<artifactId>plugin</artifactId>
32-
<version>4.75</version>
32+
<version>4.81</version>
3333
<relativePath />
3434
</parent>
3535

3636
<artifactId>build-blocker-plugin</artifactId>
3737
<name>Build Blocker Plugin</name>
38-
<version>${revision}${changelist}</version>
38+
<version>${changelist}</version>
3939
<packaging>hpi</packaging>
4040
<url>https://github.com/jenkinsci/${project.artifactId}</url>
4141

@@ -85,19 +85,18 @@
8585
<dependencies>
8686
<dependency>
8787
<groupId>io.jenkins.tools.bom</groupId>
88-
<artifactId>bom-2.387.x</artifactId>
89-
<version>2543.vfb_1a_5fb_9496d</version>
88+
<artifactId>bom-2.414.x</artifactId>
89+
<version>2982.vdce2153031a_0</version>
9090
<scope>import</scope>
9191
<type>pom</type>
9292
</dependency>
9393
</dependencies>
9494
</dependencyManagement>
9595

9696
<properties>
97-
<revision>1.7.10</revision>
98-
<changelist>-SNAPSHOT</changelist>
97+
<changelist>999999-SNAPSHOT</changelist>
9998
<gitHubRepo>jenkinsci/${project.artifactId}</gitHubRepo>
100-
<jenkins.version>2.387.3</jenkins.version>
99+
<jenkins.version>2.414.3</jenkins.version>
101100
</properties>
102101

103102
<dependencies>

0 commit comments

Comments
 (0)