Skip to content

Commit

Permalink
Merge pull request #79 from raymondwu1/enable_cd
Browse files Browse the repository at this point in the history
Enable CD
  • Loading branch information
raymondwu1 authored Oct 23, 2023
2 parents 05af7a7 + 5020954 commit 255ea0a
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 24 deletions.
4 changes: 0 additions & 4 deletions .github/release-drafter.yml

This file was deleted.

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 }}
17 changes: 0 additions & 17 deletions .github/workflows/release-drafter.yml

This file was deleted.

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
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>

<artifactId>groovy-events-listener-plugin</artifactId>
<version>${revision}${changelist}</version>
<version>${revision}.${changelist}</version>
<packaging>hpi</packaging>
<name>Groovy Events Listener Plugin</name>
<url>https://github.com/jenkinsci/${project.artifactId}</url>
Expand Down Expand Up @@ -37,8 +37,8 @@
</scm>

<properties>
<revision>1.020</revision>
<changelist>-SNAPSHOT</changelist>
<revision>2</revision>
<changelist>999999-SNAPSHOT</changelist>
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
<jenkins.version>2.387.3</jenkins.version>
<gitHubRepo>jenkinsci/${project.artifactId}</gitHubRepo>
Expand Down

0 comments on commit 255ea0a

Please sign in to comment.