diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index a2901b3..0000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,6 +0,0 @@ -# https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc ---- -_extends: .github -tag-template: ssh-$NEXT_PATCH_VERSION -name-template: $NEXT_PATCH_VERSION -version-template: $MAJOR.$MINOR.$PATCH diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml new file mode 100644 index 0000000..68eba06 --- /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 }} diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index 4fc3d2c..0000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,16 +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 - -jobs: - update_release_draft: - runs-on: ubuntu-latest - steps: - # Drafts your next Release notes as Pull Requests are merged into "master" - - uses: release-drafter/release-drafter@v6 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.mvn/maven.config b/.mvn/maven.config index 2a0299c..f7daf60 100644 --- a/.mvn/maven.config +++ b/.mvn/maven.config @@ -1,2 +1,3 @@ -Pconsume-incrementals -Pmight-produce-incrementals +-Dchangelist.format=%d.v%s diff --git a/pom.xml b/pom.xml index bf300f2..254c57e 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ ssh - ${revision}${changelist} + ${changelist} hpi Jenkins SSH plugin Execute shell scripts on remote host using ssh (pre and post build). Based on the cool scp plugin. @@ -45,8 +45,7 @@ - 2.10 - -SNAPSHOT + 999999-SNAPSHOT 2.426 ${jenkins.baseline}.3 jenkinsci/${project.artifactId}-plugin