Skip to content

Commit aa5e906

Browse files
authored
Enable CD (#395)
1 parent 89748f2 commit aa5e906

File tree

6 files changed

+22
-23
lines changed

6 files changed

+22
-23
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7+
- package-ecosystem: github-actions
8+
directory: /
9+
schedule:
10+
interval: weekly

.github/release-drafter.yml

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

.github/workflows/cd.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+
jobs:
11+
maven-cd:
12+
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@setup # TODO main after https://github.com/jenkins-infra/github-reusable-workflows/pull/1
13+
secrets:
14+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
15+
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}

.github/workflows/release-drafter.yml

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

.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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@
77
<relativePath />
88
</parent>
99
<artifactId>junit</artifactId>
10-
<version>${revision}${changelist}</version>
10+
<version>${changelist}</version>
1111
<packaging>hpi</packaging>
1212
<name>JUnit Plugin</name>
1313
<description>Allows JUnit-format test results to be published.</description>
1414
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
1515
<properties>
16-
<revision>1.53.2</revision>
17-
<changelist>-SNAPSHOT</changelist>
16+
<changelist>999999-SNAPSHOT</changelist>
1817
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
1918
<jenkins.version>2.332.1</jenkins.version>
2019
<no-test-jar>false</no-test-jar>

0 commit comments

Comments
 (0)