diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 56e323a..de00fb1 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,10 @@ version: 2 updates: - - package-ecosystem: "maven" - directory: "/" - schedule: - interval: "weekly" \ No newline at end of file +- package-ecosystem: maven + directory: / + schedule: + interval: monthly +- package-ecosystem: github-actions + directory: / + schedule: + interval: monthly diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index 0f94e84..0000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,2 +0,0 @@ -_extends: .github -tag-template: git-server-$NEXT_MINOR_VERSION diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml new file mode 100644 index 0000000..0279984 --- /dev/null +++ b/.github/workflows/cd.yaml @@ -0,0 +1,15 @@ +# Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins + +name: cd +on: + workflow_dispatch: + check_run: + types: + - completed + +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/.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 52c013c..6501ec0 100644 --- a/pom.xml +++ b/pom.xml @@ -5,19 +5,18 @@ org.jenkins-ci.plugins plugin 4.44 - + git-server - ${revision}${changelist} + ${changelist} hpi Jenkins Git server Plugin https://github.com/jenkinsci/${project.artifactId}-plugin - 1.12 - -SNAPSHOT + 999999-SNAPSHOT 2.357 jenkinsci/${project.artifactId}-plugin @@ -32,7 +31,7 @@ The MIT license - https://www.opensource.org/licenses/mit-license.php + https://opensource.org/licenses/MIT repo