Skip to content

Commit

Permalink
Merge pull request #56 from jenkinsci/enable-automated-plugin-release
Browse files Browse the repository at this point in the history
Introduce automated plugin release
  • Loading branch information
sue445 authored Feb 27, 2024
2 parents 48bce59 + 5a5ca47 commit 3f674a9
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ updates:
timezone: "Asia/Tokyo"
assignees:
- "sue445"

- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
19 changes: 19 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
1 change: 1 addition & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
-Dchangelist.format=%d.v%s
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
<artifactId>yaml-axis</artifactId>
<name>Yaml Axis plugin</name>
<description>Matrix project axis creation and exclusion plugin using yaml file</description>
<version>${revision}${changelist}</version>
<version>${changelist}</version>
<packaging>hpi</packaging>
<url>https://github.com/jenkinsci/yaml-axis-plugin</url>
<properties>
<revision>0.3.1</revision>
<changelist>-SNAPSHOT</changelist>
<changelist>999999-SNAPSHOT</changelist>
<jenkins.version>2.446</jenkins.version>
</properties>

Expand Down

0 comments on commit 3f674a9

Please sign in to comment.