Skip to content

Commit 04fc40f

Browse files
authored
Merge pull request #1 from chonton/setup-cd
setup cd
2 parents a687599 + 45995d1 commit 04fc40f

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

.github/release-drafter.yml

Lines changed: 0 additions & 2 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/maven.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
--no-transfer-progress
21
-Pconsume-incrementals
32
-Pmight-produce-incrementals
3+
-Dchangelist.format=%d.v%s

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>io.jenkins.plugins</groupId>
1313
<artifactId>json-editor-parameter</artifactId>
14-
<version>${revision}${changelist}</version>
14+
<version>${changelist}</version>
1515
<packaging>hpi</packaging>
1616

1717
<name>Json Editor Parameter</name>
@@ -34,7 +34,7 @@
3434
</scm>
3535

3636
<properties>
37-
<changelist>-SNAPSHOT</changelist>
37+
<changelist>999999-SNAPSHOT</changelist>
3838
<gitHubRepo>jenkinsci/${project.artifactId}</gitHubRepo>
3939

4040
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->

0 commit comments

Comments
 (0)