Skip to content

Commit 766b244

Browse files
authored
Merge pull request #448 from jenkinsci/enable-cd
Enable CD
2 parents 7c5b56a + 6186fbf commit 766b244

File tree

5 files changed

+19
-65
lines changed

5 files changed

+19
-65
lines changed

.github/release-drafter.yml

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

.github/workflows/cd.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# For help see https://www.jenkins.io/redirect/continuous-delivery-of-plugins
2+
3+
name: 'Jenkins 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@v1
13+
secrets:
14+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
15+
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}

.github/workflows/run-release-drafter.yml

Lines changed: 0 additions & 16 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 @@
1+
-Dchangelist.format=%d.v%s
12
-Pconsume-incrementals
23
-Pmight-produce-incrementals

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<groupId>io.jenkins.plugins</groupId>
1212
<artifactId>plugin-util-api</artifactId>
13-
<version>${revision}${changelist}</version>
13+
<version>${revision}.${changelist}</version>
1414
<packaging>hpi</packaging>
1515
<name>Plugin Utilities API Plugin</name>
1616

@@ -40,8 +40,8 @@
4040
</scm>
4141

4242
<properties>
43-
<revision>6.2.0</revision>
44-
<changelist>-SNAPSHOT</changelist>
43+
<revision>6</revision>
44+
<changelist>999999-SNAPSHOT</changelist>
4545

4646
<module.name>${project.groupId}.plugin.util.api</module.name>
4747

0 commit comments

Comments
 (0)