diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index 8d01db4..0000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,3 +0,0 @@ -_extends: .github -tag-template: azure-kubernetes-credentials-plugin-$NEXT_MINOR_VERSION -name-template: Azure Kubernetes Credentials Plugin v$NEXT_PATCH_VERSION \ No newline at end of file diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml new file mode 100644 index 0000000..f371773 --- /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/.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/Jenkinsfile b/Jenkinsfile index 09032da..8a2983d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,4 +8,4 @@ buildPlugin( configurations: [ [platform: 'linux', jdk: 21], [platform: 'windows', jdk: 17], -]) +]) \ No newline at end of file diff --git a/pom.xml b/pom.xml index 2a0c47f..c7c3d08 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ io.jenkins.plugins azure-kubernetes-credentials - ${revision}${changelist} + ${changelist} hpi Azure Kubernetes Credentials https://github.com/jenkinsci/${project.artifactId}-plugin @@ -26,8 +26,7 @@ https://github.com/${gitHubRepo} - 1.0 - -SNAPSHOT + 999999-SNAPSHOT 2.414.3 jenkinsci/${project.artifactId}-plugin