diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index 550da01..0000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,4 +0,0 @@ -# https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc ---- -_extends: .github -tag-template: groovy-events-listener-plugin-$NEXT_MINOR_VERSION diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml new file mode 100644 index 0000000..0705887 --- /dev/null +++ b/.github/workflows/cd.yaml @@ -0,0 +1,19 @@ +# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins + +name: cd +on: + workflow_dispatch: + check_run: + types: + - completed + +permissions: + checks: read + contents: write + +jobs: + maven-cd: + uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1 + secrets: + MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index a1a5a1a..0000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Automates creation of Release Drafts using Release Drafter -# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc ---- -on: - push: - branches: - - master - - main - -jobs: - update_release_draft: - runs-on: ubuntu-latest - steps: - # Drafts your next Release notes as Pull Requests are merged into the default branch - - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.mvn/maven.config b/.mvn/maven.config index 2a0299c..61cf4e5 100644 --- a/.mvn/maven.config +++ b/.mvn/maven.config @@ -1,2 +1,3 @@ -Pconsume-incrementals -Pmight-produce-incrementals +-Dchangelist.format=%d.v%s \ No newline at end of file diff --git a/pom.xml b/pom.xml index 755edb5..9626e30 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ groovy-events-listener-plugin - ${revision}${changelist} + ${revision}.${changelist} hpi Groovy Events Listener Plugin https://github.com/jenkinsci/${project.artifactId} @@ -37,8 +37,8 @@ - 1.020 - -SNAPSHOT + 2 + 999999-SNAPSHOT 2.387.3 jenkinsci/${project.artifactId}