diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
index 189a4fc..0d0b1c9 100644
--- a/.github/release-drafter.yml
+++ b/.github/release-drafter.yml
@@ -1,2 +1 @@
_extends: .github
-tag-template: file-parameters-plugin-$NEXT_MINOR_VERSION
diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml
new file mode 100644
index 0000000..1c03184
--- /dev/null
+++ b/.github/workflows/cd.yaml
@@ -0,0 +1,36 @@
+name: cd
+on:
+ workflow_dispatch:
+ check_run:
+ types:
+ - completed
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Verify CI status
+ uses: jenkins-infra/verify-ci-status-action@v1.1.0
+ with:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - name: Release Drafter
+ uses: release-drafter/release-drafter@v5.13.0
+ with:
+ name: next
+ tag: next
+ version: next
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - name: Check out
+ uses: actions/checkout@v2.3.4
+ with:
+ fetch-depth: 0
+ - name: Set up JDK 8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ - name: Release
+ uses: jenkins-infra/jenkins-maven-cd-action@v1.0.1
+ with:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
+ MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml
deleted file mode 100644
index b7bb83b..0000000
--- a/.github/workflows/release-drafter.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-# Automates creation of Release Drafts using Release Drafter
-# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc
-
-name: Release Drafter
-on:
- push:
- branches:
- - master
-jobs:
- update_release_draft:
- runs-on: ubuntu-latest
- steps:
- - uses: release-drafter/release-drafter@v5.13.0
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.mvn/maven.config b/.mvn/maven.config
index 2a0299c..7ae9593 100644
--- a/.mvn/maven.config
+++ b/.mvn/maven.config
@@ -1,2 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
+-Dchangelist.format=%d.%s
diff --git a/pom.xml b/pom.xml
index 2534df3..e61fa95 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,11 +9,10 @@
io.jenkins.plugins
file-parameters
- ${revision}${changelist}
+ ${changelist}
hpi
- 1.0
- -SNAPSHOT
+ 999999-SNAPSHOT
2.263
8
jenkinsci/${project.artifactId}-plugin