diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..c53ce32 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @jenkinsci/ssh-plugin-developers diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..978c292 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file +--- +version: 2 +updates: + - package-ecosystem: "maven" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..a2901b3 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,6 @@ +# 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/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..4fc3d2c --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,16 @@ +# 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/extensions.xml b/.mvn/extensions.xml new file mode 100644 index 0000000..4e0774d --- /dev/null +++ b/.mvn/extensions.xml @@ -0,0 +1,7 @@ + + + io.jenkins.tools.incrementals + git-changelist-maven-extension + 1.8 + + diff --git a/.mvn/maven.config b/.mvn/maven.config new file mode 100644 index 0000000..2a0299c --- /dev/null +++ b/.mvn/maven.config @@ -0,0 +1,2 @@ +-Pconsume-incrementals +-Pmight-produce-incrementals diff --git a/pom.xml b/pom.xml index c1a4d9c..cd1c465 100644 --- a/pom.xml +++ b/pom.xml @@ -1,3 +1,4 @@ + 4.0.0 @@ -8,15 +9,19 @@ org.jenkins-ci.plugins plugin - 4.86 + 4.88 - 2.426.3 + 2.7 + -SNAPSHOT + 2.426 + ${jenkins.baseline}.3 + jenkinsci/${project.artifactId}-plugin ssh Jenkins SSH plugin - 2.7-SNAPSHOT + ${revision}${changelist} hpi http://wiki.jenkins-ci.org/display/JENKINS/SSH+plugin @@ -46,7 +51,7 @@ io.jenkins.tools.bom - bom-2.426.x + bom-${jenkins.baseline}.x 3208.vb_21177d4b_cd9 import pom @@ -56,12 +61,6 @@ - - maven-release-plugin - - deploy - - org.jenkins-ci.tools maven-hpi-plugin @@ -99,9 +98,10 @@ - scm:git:https://github.com/jenkinsci/ssh-plugin.git - scm:git:git@github.com:jenkinsci/ssh-plugin.git - HEAD + scm:git:https://github.com/${gitHubRepo}.git + scm:git:git@github.com:${gitHubRepo}.git + https://github.com/${gitHubRepo} + ${scmTag}