Skip to content

Commit

Permalink
Use CI/CD (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored Jun 6, 2024
1 parent bfac5f4 commit 3bb2f10
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 32 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/[email protected]
secrets:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
16 changes: 0 additions & 16 deletions .github/workflows/release-drafter.yml

This file was deleted.

22 changes: 10 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>

<artifactId>gravatar</artifactId>
<version>${revision}${changelist}</version>
<version>${changelist}</version>
<packaging>hpi</packaging>

<name>Jenkins Gravatar plugin</name>
Expand All @@ -32,6 +32,12 @@
<email>[email protected]</email>
<timezone>+1</timezone>
</developer>
<developer>
<id>viceice</id>
<name>Michael Kriese</name>
<email>[email protected]</email>
<timezone>+1</timezone>
</developer>
</developers>

<contributors>
Expand All @@ -55,13 +61,12 @@
</scm>

<issueManagement>
<system>JIRA</system>
<url>http://issues.jenkins-ci.org/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+Jenkins+AND+component+%3D+gravatar+AND+resolution+%3D+Unresolved</url>
<system>Github</system>
<url>https://github.com/${gitHubRepo}/issues</url>
</issueManagement>

<properties>
<revision>2.3</revision>
<changelist>-SNAPSHOT</changelist>
<changelist>999999-SNAPSHOT</changelist>
<jenkins.version>2.387.3</jenkins.version>
<gitHubRepo>jenkinsci/gravatar-plugin</gitHubRepo>
</properties>
Expand Down Expand Up @@ -118,13 +123,6 @@
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
</repository>
<repository>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
<id>truth-github</id>
<name>Truth Github Repository</name>
<url>https://raw.github.com/truth0/repo/master</url>
</repository>
</repositories>

<pluginRepositories>
Expand Down

0 comments on commit 3bb2f10

Please sign in to comment.